hakimel / Fokus

MIT License
625 stars 87 forks source link

Fokus

Fokus uses JavaScript to emphasize anything you select by covering the rest of the page with semi-transparent black.

The library has no dependencies and weighs in at around 3kb. A <canvas> element is used to paint the cut-out cover. Works in most modern browsers except IE and touch devices.

If you want to use this on your site simply include the fokus.min.js script.

Check out the demo page.

Get the Fokus Chrome extension.
Get the Fokus Firefox extension by @aaronraimist.

History

0.5

0.4

0.3

0.2

0.1

License

MIT licensed

Copyright (C) 2012-2013 Hakim El Hattab, http://hakim.se