Responsive Image Background Plugin - anystretch
File Size: | 304 MB |
---|---|
Views Total: | 2720 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

anystretch is a jQuery Plugin for add a Image Background to any web elements. It is fully responsive, so that the image will stretch to fit the page/element, and will automatically resize as the window size changes.
How to use it:
1. Markup
<div class="div01"> <div> <h2>Element with hardly any content</h2> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p> </div> </div>
2. Include jQuery libarary and anystretch.js
<script src="../lib/jquery-1.7.1.min.js"></script> <script src="../jquery.anystretch.min.js"></script>
3. Call the plugin
<script> $('.div01').anystretch("img01.jpg"); </script>
This awesome jQuery plugin is developed by unknown. For more Advanced Usages, please check the demo page or visit the official website.