Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
achtung82
on July 28, 2019
|
parent
|
context
|
favorite
| on:
Problems with the CSS background-image property
<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.
bruxis
on July 28, 2019
|
next
[–]
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/
JeanMarcS
on July 28, 2019
|
prev
[–]
Isn’t it why you still put an img element in it ? Or am I mistaking ?
achtung82
on July 28, 2019
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: