groups

Link to this snippet:


Download to Code Collector

language: CSS
licence: BSD

Multiple backgrounds with CSS3

options: send to code collectorview all maeghan's snippets
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;