0

Background

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

15th Mar 2020, 6:27 PM
Azza
5 odpowiedzi
+ 4
Use div elements to specify sections in a web page and give it different background color PS:An example https://code.sololearn.com/Wb1oSvqqFI8H/?ref=app
15th Mar 2020, 6:35 PM
Farhan
Farhan - avatar
+ 2
Farhan method works best but you can also use the background-position property in css https://developer.mozilla.org/en-US/docs/Web/CSS/background-position
15th Mar 2020, 7:05 PM
Ore
Ore - avatar
+ 1
Thank you so much, I did it 🌸 Ore Adeleye Farhan
16th Mar 2020, 11:18 AM
Azza
+ 1
My friends how I change the opacity of this background ?? I write in css opacity:0.4; but no change! Ore Adeleye Farhan
16th Mar 2020, 11:19 AM
Azza
0
@Azza there is no css rule to do that but there is a hack in Chris Coyier's blog https://css-tricks.com/snippets/css/transparent-background-images/
16th Mar 2020, 12:56 PM
Ore
Ore - avatar