Answer the question
In order to leave comments, you need to log in
How to organize a picture replacement if the client is IE11?
Because the donkey does not understand picture, it should probably be replaced with something (in a collision with a donkey). Those. you need to recognize the browser and do something about it. I came across modernizr, but I'm still dealing with it, so I'm making a request to APSquality, all of a sudden you can tell me something about this technology, or offer alternative solutions ... and I also need to run to work :)
Just a word: if there is a solution for View - I would look (a bit familiar).
In general, I need to design a component (so that it can be embedded anywhere) and I master the technology of correctly using images so that everything is beautiful everywhere, as much as possible. So you need to take into account both retinas and all sorts of donkeys, ...
Answer the question
In order to leave comments, you need to log in
<picture>
<source srcset="mdn-logo.svg" type="image/svg+xml">
<img src="mdn-logo.png" alt="MDN">
</picture>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question