- Overview
- Documents
Dense is a jQuery plugin that offers an easy way to serve device pixel ratio aware images, bringing in retina support to your website. Clear the blurry, images be crisp.
Source: dense.rah.pw
Aug 19, 2014 in Layout 3655 views
Dense is a jQuery plugin that offers an easy way to serve device pixel ratio aware images, bringing in retina support to your website. Clear the blurry, images be crisp.
Source: dense.rah.pw
1. INCLUDE JS FILES
<script src="jquery.js"></script> <script src="dense.js"></script>
2. HTML
<img src="/assets/img/cherry_blossom.jpg" class="dense dense-loading">
3. JAVASCRIPT
$('img').dense();
Tagged with:
dense
jquery plugin
pixel ratio
aware images
bringing in retina
blurry
images be crisp
Related Articles