Skip to content

theskumar/zoom.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZOOM

A bit about our Image Zoom plugin: https://medium.com/designing-medium/image-zoom-on-medium-24d146fc0c20

Demo: https://fat.github.io/zoom.js

HOW TO USE IT

  • Include zoom.js and zoom.css in your application. (note: zoom.js depends on bootstrap's transition.js) - don't worry, it's tiny.
  • Add a data-action="zoom" attribute to the image tags you want to zoom.

WHY TO USE IT

It's the best way to zoom an image. It transition/zooms in really cleanly, and then when you're done, scrolls away, [esc] keys away, clicks away… clean af.

WHERE TO USE IT

This plugin probably works in all relevant browsers. If not, let me know.

About

Medium's Image Zoom for jQuery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.2%
  • HTML 46.1%
  • CSS 5.7%