Documentation
Our WebsiteOur Github
  • 👋Welcome to Infinitode Documentation
  • AI Documentation
  • API Documentation
    • Basic Math API Documentation (#Experimental)
    • BMI Calculator API Documentation
    • Character Counter API Documentation
    • Chemical Equation Balancer API Documentation
    • Color Generator API Documentation
    • Date Difference Calculator API Documentation
    • Dungen API Documentation
    • Dungen Dev API Documentation
    • Factorial Calculator API Documentation
    • Fantasy Name Generator API Documentation
    • Fibonacci Sequence Generator API Documentation
    • GCD Calculator API Documentation
    • Hash API Documentation
    • Helix PSA API Documentation
    • LCM Calculator API Documentation
    • Leap Year Checker API Documentation
    • Lorem API Documentation
    • Molar Mass Calculator API Documentation (#Experimental)
    • MycoNom API Documentation
    • Name Generator API Documentation
    • Palindrome Checker API Documentation
    • Password Generator API Documentation
    • Password Strength Detector API Documentation
    • Periodic Table API Documentation
    • Prime Number Checker API Documentation
    • Quadratic Equation Solver API Documentation
    • Random Facts Generator API Documentation
    • Random Quotes Generator API Documentation
    • Roman Numeral Converter API Documentation
    • Simple Interest Calculator API Documentation
    • Slugify API Documentation
    • Text Case Converter API Documentation
    • Unit Converter API Documentation
    • Username Generator API Documentation
    • UUID Generator API Documentation
    • Vowel Counter API Documentation
  • Package Documentation
    • BlurJS Package Documentation
      • BlurJS Usage Examples
      • BlurJS Reference Documentation
    • CodeSafe Package Documentation
      • CodeSafe Reference
        • CodeSafe Functions
    • DeepDefend Package Documentation
      • DeepDefend Reference
        • Attacks Functions
        • Defenses Functions
    • DupliPy Package Documentation
      • DupliPy Reference
        • Formatting Functions
        • Replication Functions
        • Similarity Functions
        • Text Analysis Functions
    • FuncProfiler Package Documentation
      • FuncProfiler Reference
        • FuncProfiler Functions
    • Hued Package Documentation
      • Hued Reference
        • Analysis Functions
        • Colors Functions
        • Conversions Functions
        • Palettes Functions
    • LocalSiteMap Package Documentation
      • LocalSiteMap Reference
        • LocalSiteMap Functions
    • PyAutoPlot Package Documentation
      • PyAutoPlot Reference
        • PyAutoPlot Functions
    • PyWebScrapr Package Documentation
      • PyWebScrapr Reference
        • PyWebScrapr Functions
    • ValX Package Documentation
      • ValX Reference
        • ValX Functions
Powered by GitBook
On this page

Was this helpful?

  1. Package Documentation
  2. BlurJS Package Documentation

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, which gives you extra functionality to create advanced blur effects using the vanilla CSS styles.

Vanilla CSS Property
BlurJS Property
Description

width

blur-width

Sets the width of the blur. default 50px

height

blur-height

Sets the height of the blur. default 50px

filter: blur(amount)

blur-amount

Sets the amount of blur. default 25px

background

blur-background

Sets the color/background of the blur (gradients can also be used). default red

z-index

blur-z-index

Sets the Z Index of the blur. default 99

top

blur-top

Positions the blur from the top. default 0

left

blur-left

Positions the blur from the left. default 0

right

blur-right

Positions the blur from the right. no default assigned

bottom

blur-bottom

Positions the blur from the bottom. no default assigned

border-radius

blur-border-radius

Changes the blur border radius. default 5rem 2rem 5rem 50%

background (svg)

blur-grain

Must be set to true in order to work. Sets the blur to a grainy texture. no default assigned

animation, transform

blur-scale

The value to scale to. If present triggers a scale animation to that value. no default assigned

blur-scale-duration

Optional duration value for the scale animation. no default assigned

blur-scale-repetitions

Optional repetitions value for the scale animation. no default assigned

blur-scale-timing

Optional timing value for the scale animation. default linear

animation, transform

blur-translate-x

The value to translate on the x-axis. If present triggers a translation animation to that value. no default assigned

blur-translate-x-duration

Optional duration value for the translation animation. no default assigned

blur-translate-x-repetitions

Optional repetitions value for the translation animation. no default assigned

blur-translate-x-timing

Optional timing value for the translation animation. default linear

animation, transform

blur-translate-y

The value to translate on the y-axis. If present triggers a translation animation to that value. no default assigned

blur-translate-y-duration

Optional duration value for the translation animation. no default assigned

blur-translate-y-repetitions

Optional repetitions value for the translation animation. no default assigned

blur-translate-y-timing

Optional timing value for the translation animation. default linear

animation, opacity

blur-opacity

The value to animate on the opacity property. If present triggers a opacity animation to that value. no default assigned

blur-opacity-duration

Optional duration value for the opacity animation. no default assigned

blur-opacity-repetitions

Optional repetitions value for the opacity animation. no default assigned

blur-opacity-timing

Optional timing value for the opacity animation. default linear

animation, filter

blur-animate

The value to transition to. Transitions from the blur-amount value and this value. If present triggers a blur animation to that value. no default assigned

blur-animate-duration

Optional duration value for the blur animation. no default assigned

blur-animate-repetitions

Optional repetitions value for the blur animation. no default assigned

blur-animate-timing

Optional timing value for the blur animation. default linear

pointer-events

blur-pointer-events

Optional value for pointer events. Choose from true or false. This allows either all or none.

user-select

blur-user-select

Optional value for user selection. Choose from true or false. This allows either auto or none.

animation, filter

blur-interaction

Optional value for toggling animations. Choose from scroll (triggers when in the viewport), click (toggles animation on click) and hover (trigger when hovering on element).

Coming soon: More properties for BlurJS interactions...

PreviousBlurJS Usage ExamplesNextCodeSafe Package Documentation

Last updated 4 months ago

Was this helpful?