EasyImg
EasyImg Is a jQuery Plugin created to add Inline Background Images Easily
Requirements
- Jquery
Usage
<div data-img="bg.jpg"> </div>
Js
$.easyImg();
Default options Applied
$.easyImg({ baseFolder: './images/' // Default selector: 'data-img' // Default });
Default Styles Applied
background-size: cover; background-position: center bottom; background-repeat: no-repeat;