Skip to content

jonkpirateboy/refocus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A lightweight jQuery plugin to focus and unfocus like a camera

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published