synopsis
html
<div id="card1"></div>
javascript
$("#card1").autopadding({which_height: 'padding-bottom',
offset_height: 0
});
options
which_height | css attribute for set height. |
offset_height | set pixcel size, if you want smaller than window. |