Monday, September 3, 2012
Detecting retina displays
Was just reading up on how to detect retina (HiDPI) displays and I am trying this out on this post.
For you nerds, I added a javascript function to my blog's CSS that looks like:
Then in the post's body I use a statement like
This post was inspired by what I read here. It seems to work. This is becoming more and more relevant with all the high res displays on mobile platforms as well as the retina displays that Apple is pushing.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.