groups

name language licence
TINYURL ON EVERY WORDPRESS-POST PHP BSD
Display an External RSS Feed PHP BSD
Multiple backgrounds with CSS3 CSS BSD
Create A Maintenance Page For Your WordPress Blog HTML BSD
Display Related Posts Without A Plug-In PHP BSD
Resize Images On The Fly PHP BSD
opacity background PHP BSD
Untitled Snippet PHP BSD

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >



language: CSS
licence: BSD

Multiple backgrounds with CSS3

options: view full snippetsend to code collector
CSS3 allows for multiple background images on one element. To do this, you can separate backgrounds by commas, like this:


background: url(body-top.gif) top left no-repeat,
url(banner_fresco.jpg)  top 11px no-repeat,
url(body-bottom.gif) bottom left no-repeat,
url(body-middle.gif) left repeat-y;
	
(Continues...)