Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css background half one color the other half another color

 div{
    	width:400px;
    	height:350px;
    	background: linear-gradient(to right, blue 50%, yellow 50%);
    }
Comment

div half background color css

#box {
    height: 200px;
    border: solid 1px;
    background-color: blue;
    background-image: linear-gradient(180deg, transparent 50%, #FFF 10%);
  }
Comment

PREVIOUS NEXT
Code Example
Css :: text border css 
Css :: div scrollable content 
Css :: css align ul li horizontal 
Css :: set scrollbar width css 
Css :: center text css 
Css :: center elements vertically in div 
Css :: Bootstap 5.2.0 cdn 
Css :: react hide scrollbar 
Css :: css animation scale image 
Css :: background image stretch to fill 
Css :: background color in css 
Css :: how to create a glass-polymorphism effect 
Css :: css keep image ratio 
Css :: center div in tailwind css 
Css :: css center grid 
Css :: css check if mobile 
Css :: make mat card scrollable 
Css :: input remove blue glow 
Css :: checkbox input in css 
Css :: css full cover background image 
Css :: how to center a div vertically and horizontally 
Css :: how to make image not repeat on background 
Css :: before css font awesome 
Css :: css shaddow 
Css :: webkit-line-clamp browser support 
Css :: css all except last 
Css :: how to lighten a color in css 
Css :: unclickable button 
Css :: centralize div inside div 
Css :: css outline color 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =