Fireworks Explosion

0 viewshard
Background:
Fireworks Explosion
1
Was this helpful?

What is inside Fireworks Explosion

Fireworks Explosion is a CSS checkbox built with a keyframe animation, gradient fills, transforms, defined in 154 lines across 29 selectors.

20
CSS properties
29
Selectors
154
Lines of CSS
2
Formats

Techniques used

Keyframe animationTransitionsTransformsGradientsChecked stateFlexboxCustom properties

Animations defined: center-explodespark-explodeflash-burst

CSS properties in this component

align-itemsanimationanimation-delaybackgroundborder-radiuscolorcursordisplayfont-weightgapheightinputjustify-contentopacityoverflowpositiontransformtransitionuser-selectwidth

Accessibility check2 to fix

  • No focus style is defined. Add one before shipping, or keyboard users lose track of position.
  • Animates without a prefers-reduced-motion guard. Wrap the animation in that query if motion sensitivity matters to your audience.

These notes are generated by reading this component's own source, so they describe what it actually does rather than what a template says. Copy the code above in CSS, Tailwind and adapt it freely.