CSS multiple backgrounds
- Started
- Last post
- 9 Responses
- PPirate
Can I have multiple backgrounds using CSS? I've got one image in the body and then should another one be as a div?
Also, the image in the body constrains to the browsers proportions, can the same happen to the one in the div?
Had a google/filter and not having much joy. Lots of crazy suggestions.
Sorry if this unclear. Any help would be awesome. Cheers.
- pylon0
What is it you're trying to accomplish?
- PPirate0
I want a background image at the top of the page and then have another in the middle, both resizing in the window.
- gabadilla0
<div class="outer">
<div class="inner">
</div>
</div>Just wrap your container divs around eachother.
- version30
yes
- PPirate0
Hmm...Right, cheers I'll give that a go
- PPirate0
Booooooooooom. Done it. Thanks for the help. Awesome.
- IRNlun60
Google parallax effect. Ton of examples out there...
I like how this site uses it.
http://therissingtonpodcast.co.u…
- peterorpete0
and this
http://silverbackapp.com/
sexy- sorry, its only sexy if you resize window by draggingpeterorpete
- uberdesigner0
you should be satisfied with one background.