Le Apr 25, 2012 à 3:14 AM, Carol Swinehart a écrit :
> How do you get rid of a background image or multiple background images in
> resolutions for handheld less then 768?
Only specify background images for devices / or better - windows / wider than
768px ?
div { background: lime; }
@media all and (min-width:768px) {
div { background: url(path/to/image) repeat-x orange; }
}
It is always more easy to work from the minimal to the more complex, with the
added benefit that devices with minimal styling won't need to download the
resources they'll never use.
--
Philippe Wittenbergh
http://l-c-n.com
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/