Just discovered multiple background. I would like to know how can you apply determined properties to only one of these backgrounds of your list of a multiple background. How can you target it individually?
Here is an example to illustrate:
body{
background:
url(images/small-group-bubbles.png) repeat-x fixed 10% 0,
url(images/blur-bubble.png) repeat-x fixed -130% 0,
url(images/big-bubble.png) repeat-x fixed 40% 0,
url(images/green-gra-bg.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-color: #87d677;
As you can see there is a list of multiple backgrounds, but I would like to make one of these elements cover the whole screen with background-size. This code of course applies the cover property to all the images. I would like this cover property be applied only to the last picture: green-gra-bg/jpg.
How can I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…