Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

div half background color css

#box {
    height: 200px;
    border: solid 1px;
    background-color: blue;
    background-image: linear-gradient(180deg, transparent 50%, #FFF 10%);
  }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #div #background #color #css
ADD COMMENT
Topic
Name
4+8 =