Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukewatts/rhythmic
Get images to stay withing a vertical rhythm responsively.
https://github.com/lukewatts/rhythmic
Last synced: 17 days ago
JSON representation
Get images to stay withing a vertical rhythm responsively.
- Host: GitHub
- URL: https://github.com/lukewatts/rhythmic
- Owner: lukewatts
- License: mit
- Created: 2015-12-18T12:37:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T15:53:00.000Z (over 8 years ago)
- Last Synced: 2025-01-10T21:19:28.124Z (18 days ago)
- Language: HTML
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rhythmic
## jQuery Vertical Rhythm for ImagesRhythmic is a jQuery plugin to correct problems when using images with a vertical rhythm.
It works on all screen sizes.## Usage
### Simplest Use
This would keep all the images on you page within a vertical rhythm for the default font-size of 16px and line-height of 24px (or 1.5)
```javascript
jQuery(document).ready(function($) {
$('img').rhythmic();
})(jQuery);
```## Contributions
Pull requests welcome! Simply fork this repo, createa branch such as "adding-options", make changes and submit a pull request with details on the purpose of the changes and any other relevant information.## NPM
If someone wants to put this up on NPM let me know. Simply create an issue for people to talk about it.## License
MIT © 2016 Luke Watts