x
Search Posts:
BLOG POST #119 SHOW ALL

Responsive CSS and screen resolutions

http://alistapart.com/article/a-pixel-identity-crisis

http://www.w3.org/TR/css3-mediaqueries/

----------

Check device pixel ratio with jquery:

<div>Device pixel ratio: <b id="ratio"></b></div>
<script type="text/javascript">
//<![CDATA[
$(document).ready( function() {$('#ratio').html(window.devicePixelRatio)} );
//]]>
</script>