Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to split a background into two color in css

.logindiv {
  height: 200px;
  width: 200px;
  background: linear-gradient(to bottom, #1F4E79 0%, #1F4E79 50%, #ddd 50%, #ddd 100%);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #split #background #color #css
ADD COMMENT
Topic
Name
5+8 =