Holiday Lights String
0 viewsmedium
Background:
1
Holiday Lights String
0 viewsmedium
Background:
Holiday Lights String
1
Was this helpful?
What is inside Holiday Lights String
Holiday Lights String is a CSS checkbox built with a keyframe animation, transforms, layered shadows, defined in 101 lines across 20 selectors.
23
CSS properties
20
Selectors
101
Lines of CSS
2
Formats
Techniques used
Keyframe animationTransitionsTransformsShadowsChecked stateFlexbox
Animation defined: light-twinkle
CSS properties in this component
align-itemsanimationanimation-delaybackgroundborder-radiusbox-shadowcolorcursordisplayfont-weightgapheightinputjustify-contentleftopacitypositionrighttoptransformtransitionuser-selectwidthAccessibility 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.