Platinum Shining
0 viewsmedium
Background:
1
Platinum Shining
0 viewsmedium
Background:
Platinum Shining
1
Was this helpful?
What is inside Platinum Shining
Platinum Shining is a CSS checkbox built with a keyframe animation, gradient fills, transforms, defined in 170 lines across 25 selectors.
28
CSS properties
25
Selectors
170
Lines of CSS
2
Formats
Techniques used
Keyframe animationTransitionsTransformsGradientsShadowsChecked stateFlexbox
Animations defined: platinum-gleamsurface-flowmirror-sweepband-pulsereflection-shiftparticle-twinkle
CSS properties in this component
align-itemsanimationbackgroundborderborder-colorborder-radiusbottombox-shadowcolorcursordisplayfont-sizefont-weightgapheightinputjustify-contentleftopacityoverflowpositionrighttoptransformtransitionuser-selectwidthz-indexAccessibility 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.