Turbine Spin Checkbox
0 viewsmedium
Background:
1
2
3
4
5
6
7
8
9
10
11
12
<div class="turbine-container">
<input type="checkbox" id="turbine-check" />
<label for="turbine-check" class="turbine-label">
<span class="turbine-housing">
<span class="turbine-blade blade-1"></span>
<span class="turbine-blade blade-2"></span>
<span class="turbine-blade blade-3"></span>
<span class="turbine-center"></span>
</span>
<span class="turbine-text">Turbine Spin</span>
</label>
</div>Turbine Spin Checkbox
0 viewsmedium
Background:
Turbine Spin Checkbox
1
2
3
4
5
6
7
8
9
10
11
12
<div class="turbine-container">
<input type="checkbox" id="turbine-check" />
<label for="turbine-check" class="turbine-label">
<span class="turbine-housing">
<span class="turbine-blade blade-1"></span>
<span class="turbine-blade blade-2"></span>
<span class="turbine-blade blade-3"></span>
<span class="turbine-center"></span>
</span>
<span class="turbine-text">Turbine Spin</span>
</label>
</div>Was this helpful?
What is inside Turbine Spin Checkbox
Turbine Spin Checkbox is a CSS checkbox built with a keyframe animation, gradient fills, transforms, defined in 67 lines across 13 selectors.
22
CSS properties
13
Selectors
67
Lines of CSS
3
Formats
Techniques used
Keyframe animationTransitionsTransformsGradientsShadowsChecked stateFlexbox
Animation defined: turbine-spin
CSS properties in this component
align-itemsanimationbackgroundborderborder-colorborder-radiusbox-shadowcolorcursordisplayfont-weightgapheightinputjustify-contentoverflowpositiontransformtransform-origintransitionwidthz-indexAccessibility check2 to fix
- Built on a native <input> 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.