Neural Network Button
0 viewshard
Background:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<button class="neural-button">
<span class="neural-text">Neural AI</span>
<svg class="neural-network" viewBox="0 0 200 100">
<circle class="neuron" cx="30" cy="20" r="3"/>
<circle class="neuron" cx="30" cy="50" r="3"/>
<circle class="neuron" cx="30" cy="80" r="3"/>
<circle class="neuron" cx="100" cy="35" r="3"/>
<circle class="neuron" cx="100" cy="65" r="3"/>
<circle class="neuron" cx="170" cy="50" r="3"/>
<line class="synapse" x1="30" y1="20" x2="100" y2="35"/>
<line class="synapse" x1="30" y1="50" x2="100" y2="35"/>
<line class="synapse" x1="30" y1="50" x2="100" y2="65"/>
<line class="synapse" x1="30" y1="80" x2="100" y2="65"/>
<line class="synapse" x1="100" y1="35" x2="170" y2="50"/>
<line class="synapse" x1="100" y1="65" x2="170" y2="50"/>
</svg>
</button>Neural Network Button
0 viewshard
Background:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<button class="neural-button">
<span class="neural-text">Neural AI</span>
<svg class="neural-network" viewBox="0 0 200 100">
<circle class="neuron" cx="30" cy="20" r="3"/>
<circle class="neuron" cx="30" cy="50" r="3"/>
<circle class="neuron" cx="30" cy="80" r="3"/>
<circle class="neuron" cx="100" cy="35" r="3"/>
<circle class="neuron" cx="100" cy="65" r="3"/>
<circle class="neuron" cx="170" cy="50" r="3"/>
<line class="synapse" x1="30" y1="20" x2="100" y2="35"/>
<line class="synapse" x1="30" y1="50" x2="100" y2="35"/>
<line class="synapse" x1="30" y1="50" x2="100" y2="65"/>
<line class="synapse" x1="30" y1="80" x2="100" y2="65"/>
<line class="synapse" x1="100" y1="35" x2="170" y2="50"/>
<line class="synapse" x1="100" y1="65" x2="170" y2="50"/>
</svg>
</button>Was this helpful?
What is inside Neural Network Button
Neural Network Button is a CSS button built with a keyframe animation, gradient fills, transforms, defined in 78 lines across 11 selectors.
27
CSS properties
11
Selectors
78
Lines of CSS
3
Formats
Techniques used
Keyframe animationTransitionsTransformsGradientsShadowsFiltersHover state
Animations defined: pulse-neurondata-flow
CSS properties in this component
animationanimation-durationbackgroundborderborder-radiusbox-shadowcolorcursorfillfilterfont-weightheightleftopacityoverflowpaddingpositionstrokestroke-dasharraystroke-dashoffsetstroke-widthtext-shadowtoptransformtransitionwidthz-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, Tailwind and adapt it freely.