hosnyben/ratio
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# ratio v1.1 Ratio it's an easy jQuery plugin to maintain the aspect ratio of a div depending to the height (or width) of it container. Ratio is very useful for reponsive design. ========================================================== For more suggestions you can contact me at : - facebook : https://www.facebook.com/hosny707 - email : contact@hosnyben.me - website : www.hosnyben.me ========================================================== Plugin details : -> Default settings : $(element).ratio({ width : 1, height : 1, ref : "width" }) -> Description : width : set the width for your ratio height : set the height for your ratio ref : set if the block should depend of height or width of it container (width/height)
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published