Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonkpirateboy/refocus
A lightweight jQuery plugin to focus and unfocus like a camera
https://github.com/jonkpirateboy/refocus
Last synced: about 1 month ago
JSON representation
A lightweight jQuery plugin to focus and unfocus like a camera
- Host: GitHub
- URL: https://github.com/jonkpirateboy/refocus
- Owner: jonkpirateboy
- License: mit
- Created: 2015-10-12T09:11:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-12T11:46:09.000Z (over 5 years ago)
- Last Synced: 2024-08-01T00:45:15.283Z (3 months ago)
- Language: HTML
- Size: 17.6 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Refocus
A lightweight jQuery plugin to focus and unfocus like a camera. Perfect for full width parallax sites.## Javascript
Include the javascript and call it on any event, like window load, Waypoints or Unveil with $('#id-of-the-containing-div').refocus();. Add the class focus-in to the elements you want to go from blurry to sharp, and focus-out that you want to go from sharp to blurry.## Stylesheet
Include refocus.css and make changes in your own css-file or inline css.