+ 3
How to change the background color in html ?
I want different colors to appear at the same time on the page..not just one color on the whole
3 Answers
+ 4
Divide your page into div tags
And give for each div tag the style u want
or use the attribute
background: linear-gradient();
Anmol Sudhendu
+ 4
background: linear-gradient();
+ 2
Linear gradient for chrome:
background : -webkit-linear-gradient(red, yellow, orange);
------------------------------------------------
Linear gradient for Mozilla Firefox:
background : -moz-linear-gradient(red, yellow, orange);
----------------------------------------------------
Radial gradient for chrome:
background : -webkit-radial-gradient(red, yellow, orange);
------------------------------------------------
Radial gradient for Mozilla Firefox:
background : -moz-radial-gradient(red, yellow, orange);