BlurJS Reference Documentation
This page details all of the available properties to change/apply using BlurJS.
All of these properties are directly mapped to the corresponding CSS property, so this gives extra functionality for you to create advanced blur effects using the vanilla CSS styles.
Vanilla CSS Property | BlurJS Property | Description |
---|---|---|
|
| Sets the width of the blur. |
|
| Sets the height of the blur. |
|
| Sets the amount of blur. |
|
| Sets the color/background of the blur (gradients can also be used). |
|
| Sets the Z Index of the blur. |
|
| Positions the blur from the top. |
|
| Positions the blur from the left. |
|
| Positions the blur from the right. |
|
| Positions the blur from the bottom. |
|
| Changes the blur border radius. |
|
| Must be set to |
|
| The value to scale to. If present triggers a scale animation to that value. |
| Optional duration value for the scale animation. | |
| Optional repetitions value for the scale animation. | |
|
| The value to translate on the x-axis. If present triggers a translation animation to that value. |
| Optional duration value for the translation animation. | |
| Optional repetitions value for the translation animation. | |
|
| The value to translate on the y-axis. If present triggers a translation animation to that value. |
| Optional duration value for the translation animation. | |
| Optional repetitions value for the translation animation. | |
|
| The value to animate on the opacity property. If present triggers a opacity animation to that value. |
| Optional duration value for the opacity animation. | |
| Optional repetitions value for the opacity animation. | |
|
| The value to transition to. Transitions from the |
| Optional duration value for the blur animation. | |
| Optional repetitions value for the blur animation. | |
|
| Optional value for pointer events. Choose from |
|
| Optional value for user selection. Choose from |
|
| Optional value for toggling animations. Choose from |
More properties coming soon to future versions of BlurJS.
Last updated