Skip to content

EasyImg Is a jQuery Plugin created to add Inline Background Images Easily

License

Notifications You must be signed in to change notification settings

HimasRafeek/EasyImg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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;

More Options coming soon.

Thank you.

About

EasyImg Is a jQuery Plugin created to add Inline Background Images Easily

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published