[openstreetmap-website] retina compatible icons (#850)
Holger Jeromin
notifications at github.com
Wed Dec 3 16:59:21 UTC 2014
HiDPI browsers probably support the new picture element (in the future http://caniuse.com/#search=picture). So the (few) img with png in it could be replaced by the following construct:
<picture>
<source src="/assets/osm_logo-xxx.svg">
<img alt="OpenStreetMap Logo" class="logo" src="/assets/osm_logo-xxx.png"/>
<p>OpenStreetMap Logo</p>
</picture>
But the logo seems to be the only img tag on the site.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/850#issuecomment-65446147
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20141203/75f71d7f/attachment.html>
More information about the rails-dev
mailing list