jQuery plugin for creating elastic webpages
Download the production version or the development version.
In your web page:
<script src="jquery.js"></script>
<script src="dist/emlastic.min.js"></script>
<script>
$(document).ready(function() {
$.emlastic(); // "emlastic"
});
</script>bower install emlastic
Supported options:
Type: number
Default: 1920
Type: String
Default: "horizontal"
Can be horizontal or vertical.
Type: string, DOM Element, null
Default: null
Type: number
Default: 100
How many design pixels will one em contain. You'll need to devide by this number when writing values in you CSS.
MIT © Angel Vladov