linear-gradient
background: linear-gradient(to left, #333, #333 50%, #eee 100%);
linear-gradient
background: linear-gradient(to left, #333, #333 50%, #eee 100%);
css multicolor background
background: linear-gradient(110deg, #fdcd3b 60%, #ffed4b 60%);
linear gradient in CSS
The general syntax of linear-gradient is-
background: linear-gradient(gradient direction, color1 , color2 , color3, .....);
Forexample-
background: linear-gradient(46deg,green,blue,yellow,pink);
NOTE: (common mistake) we forget to write the semi-colon (;)
double color background css
background: linear-gradient(<angle>, color1 color1-stop-at, color2 color2-start-at);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us