BlurJS Package Documentation
Package documentation for BlurJS, an open-source JavaScript library for creating modern and customizable blurs.
Last updated
Was this helpful?
Package documentation for BlurJS, an open-source JavaScript library for creating modern and customizable blurs.
Last updated
Was this helpful?
1.3 (Latest): Added animation timing and multiple animation support.
1.2: Added interactivity triggers.
1.1: Added support for animations.
1.0: Initial release.
You can download the full source code from . Alternatively, you can quickly link BlurJS to your HTML files using a script tag and the CDN. We offer 2 versions of BlurJS through the CDN:
Minified:
Normal:
BlurJS will automatically find all elements with class blur
and add them to a list. It will then run through the list and apply the HTML attributes of each element to the element's style. This makes it easier to use and more efficient than vanilla CSS styles for varied blurs.
Just add the property you want to change to the blur
element, it supports the vanilla CSS property values so it is possible to create advanced blurs that use linear-gradient
, etc. Check the of available properties to use for BlurJS. We'll add more properties soon.