If you're already using modernizr, it's even easier. On Tuesday, August 5, 2014, Karl DeSaulniers <k...@designdrumm.com> wrote:
> That is an interesting find, thank you for sharing. > I am still a little partial to the js solution as it checks things before > anything is loaded, but if your a css purist, this is gold. ;) > > Best, > > Karl DeSaulniers > Design Drumm > http://designdrumm.com > > > > On Aug 5, 2014, at 8:11 PM, Tom Livingston <tom...@gmail.com > <javascript:;>> wrote: > > > Most likely, yes. > > > > On Tuesday, August 5, 2014, Karl DeSaulniers <k...@designdrumm.com > <javascript:;>> wrote: > > I see. But so I can wrap my head around this, without the media queries, > that is what this css declaration does? > > > > Karl DeSaulniers > > Design Drumm > > http://designdrumm.com > > > > > > > > On Aug 5, 2014, at 8:08 PM, Tom Livingston <tom...@gmail.com > <javascript:;>> wrote: > > > > > These were simple examples. In practice, I'd add MQ to stop that from > happening in most browsers. > > > > > > On Tuesday, August 5, 2014, Karl DeSaulniers <k...@designdrumm.com > <javascript:;>> wrote: > > > So with this, my browser, if it supports svg has to download your png > and then your svg? > > > > > > Best, > > > > > > Karl DeSaulniers > > > Design Drumm > > > http://designdrumm.com > > > > > > > > > > > > On Aug 5, 2014, at 7:45 PM, Tom Livingston <tom...@gmail.com > <javascript:;>> wrote: > > > > > > > Background: url(image.png); > > > > background-image: url(image.svg), none; > > > > > > ______________________________________________________________________ > > > css-discuss [css-d@lists.css-discuss.org <javascript:;>] > > > 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/ > > > > > > > > > -- > > > > > > Tom Livingston | Senior Front-End Developer | Media Logic | > > > ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com > > > > ______________________________________________________________________ > > css-discuss [css-d@lists.css-discuss.org <javascript:;>] > > 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/ > > > > > > -- > > > > Tom Livingston | Senior Front-End Developer | Media Logic | > > ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com > > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org <javascript:;>] > 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/ > -- Tom Livingston | Senior Front-End Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] 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/