Neon Synthwave Button
0 viewshard
Background:
1
2
3
<button class="synthwave-btn">
<span class="synthwave-text">SYNTHWAVE</span>
</button>Neon Synthwave Button
0 viewshard
Background:
1
2
3
<button class="synthwave-btn">
<span class="synthwave-text">SYNTHWAVE</span>
</button>Was this helpful?
What is inside Neon Synthwave Button
Neon Synthwave Button is a CSS button built with a keyframe animation, gradient fills, transforms, defined in 47 lines across 5 selectors.
25
CSS properties
5
Selectors
47
Lines of CSS
2
Formats
Techniques used
Keyframe animationTransitionsTransformsGradientsShadowsPseudo elementsHover state
Animation defined: synthwave-scan
CSS properties in this component
animationbackgroundborderborder-colorborder-radiusbox-shadowcolorcontentcursorfont-familyfont-sizefont-weightheightleftletter-spacingoverflowpaddingpositiontext-shadowtext-transformtoptransformtransitionwidthz-indexAccessibility check2 to fix
- Built on a native <button> element, so keyboard focus and screen reader semantics work without extra attributes.
- 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 HTML, CSS and adapt it freely.