[openstreetmap-website] using sprite.svg for high dpi devices (#1055)

Holger Jeromin notifications at github.com
Sun Sep 13 11:49:45 UTC 2015

Or we could use [this logic](http://www.sitepoint.com/a-farewell-to-css3-gradients/) without `@media` query:
.icon {
    background:url("sprite.svg"), url("sprite.png") ;
Note: background instead of background-image is intentional.

But old safaris will probably not working: http://caniuse.com/#feat=svg-css thats why i used the `@media` way to hide the new stuff.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20150913/539c5920/attachment.html>

More information about the rails-dev mailing list