https://github.com/morulus/jquery.ratio
Ensures that block will save own aspect ratio on different resolutions
https://github.com/morulus/jquery.ratio
Last synced: about 1 year ago
JSON representation
Ensures that block will save own aspect ratio on different resolutions
- Host: GitHub
- URL: https://github.com/morulus/jquery.ratio
- Owner: morulus
- Created: 2015-02-27T22:01:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-28T00:26:37.000Z (over 11 years ago)
- Last Synced: 2025-05-18T04:16:34.677Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jquery.ratio
==============
Ensures that block will save own aspect ratio on different resolutions
## Usage
````
$(".block").ratio({
factor: 0.1234
});
```
## Options
factor, yShift, yShift
## Performed by
Vladimir Kalmykov aka [@morulus](https://github.com/morulus/) 2014