Y
Hacker News
new
|
ask
|
show
|
jobs
by
achtung82
2525 days ago
<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.
2 comments
bruxis
2525 days ago
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/
link
JeanMarcS
2525 days ago
Isn’t it why you still put an img element in it ? Or am I mistaking ?
link
achtung82
2525 days ago
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.
link
In this case: https://scottjehl.github.io/picturefill/