Background | SoloLearn: Learn to code for FREE!



Hello all How do I create backgrounds for a specific part of the web page ?

3/15/2020 6:27:01 PM


5 Answers

New Answer


Use div elements to specify sections in a web page and give it different background color PS:An example


Farhan method works best but you can also use the background-position property in css


Thank you so much, I did it 🌸 Ore Adeleye Farhan


My friends how I change the opacity of this background ?? I write in css opacity:0.4; but no change! Ore Adeleye Farhan


@Azza there is no css rule to do that but there is a hack in Chris Coyier's blog