News for hackers. Stuff that matters.
Re:Problems with the CSS background-image property by achtung82 on Sunday July 28, 2019 @03:35AM (#20546302)
<picture> isn't supported by IE 11 so for the moment this isnt really an option for us that need to support people with legacy browsers.
Re:Problems with the CSS background-image property by bruxis on Sunday July 28, 2019 @04:20AM (#20546429)
For those with a strong desire to use `<picture>` but also want to support legacy browsers, there's (almost) always a polyfill.

In this case: https://scottjehl.github.io/picturefill/

Re:Problems with the CSS background-image property by JeanMarcS on Sunday July 28, 2019 @06:21AM (#20546766)
Isn’t it why you still put an img element in it ? Or am I mistaking ?
Re:Problems with the CSS background-image property by achtung82 on Sunday July 28, 2019 @06:35AM (#20546816)
True, of course then you will have to deal with the formating problems that made you choose background-image over img in the first place. Though concidering the small numbers still using IE 11 that might be acceptable.