I\’m attempting to make my first retina ready website, but I came across the problem when I need to replace images to higher resolution in css. I\’m not sure how to, for example, have standard image as a background and then if user is on retina machine have same image but at higher res (at the moment I have both low res and high res images).
Can anyone suggest good sources or explain how to do this? Preferably a css and cross-browser solution, but it could also be javascript or something.





Rating:
The post javascript – Replacing background image for higher quality one if user is on retina device appeared first on Javascript ASK.
via Javascript ASK http://javascriptask.phpfogapp.com/javascript-replacing-background-image-for-higher-quality-one-if-user-is-on-retina-device.html
No comments:
Post a Comment