-
201109 May
Posted in CSS3 Previews
CSS3 allows web designers to specify multiple background images for box elements, using nothing more than a simple comma-separated list.
Browser support for multiple backgrounds is now relatively widespread with Mozilla Firefox (3.6+), Safari/Chrome (1.0/1.3+), Opera (10.5+) and even Internet Explorer (9.0+) all implementing the feature.
You can skip to the end and leave a response.
-
Comments
-
01.
The only problem is that the sliding doors technique won’t work with transparent pngs on the edges. The center background will show through. But border-image is probably more appropriate for that anyway.
-
02.
matt, links or it didn’t happen. i wanna see what you’re claiming can’t be done.
-
03.
Matt, you don’t need “sliding doors” now when you can use border images in CSS3
-
04.
Jeff: I think matt explained it quite well in words. Think of the sliding door example. You have 3 background images: left cap, center fill, right cap. Without using border-image or border-radius, the center fill would fill the whole div, including the areas of the right and left caps that would be rounded, showing the center fill texture instead of a transparency showing thru to the background.
-
05.
NES says:Comment » May 13th, 2011 at 7:01 am
Multiple background image will never reach full potential without -moz-image-rect
-
06.
-
07.
-
08.
Multiple backgrounds are a great new tool for web designers, especially when joined up with CSS3 gradients – you can have a tiled repeating background _and_ a subtle gradient on a background all at the same time!
-
09.
Yeah, CSS3 rocks. We all remember days when we had to write more HTML just for providing some placeholders for additional background images. I love evolution.
-
10.
This is really useful stuff. And its supported in a lot of browsers so good news there!
-
11.
-
12.
This saves so much time. But unfortunately most clients still need support for IE8/IE7, so usually I can’t do it the easy way. :(
-
01.
TAG CLOUD
acid3
advanced layout
advanced layout module
Animations
background
border
Browsers
color
css
CSS3.info
CSS WG
csswg
developer tools
disabled
enabled
Feedback
firefox
firefox 3.1
flexible box layout
fonts
generated content
grid positioning
HSLA
HTML5
ie6
jina bolton
jquery
media player
Multicolumn Layout
News
Opera
Opera Dragonfly
presentations
RGBA
safari
Selectors
slides
SVG
text rendering
W3C
wasp
Web Fonts
webkit
windows

Leave a Comment