Gym Weights Checkbox
0 viewsmedium
Background:
1
2
3
4
5
6
7
8
9
10
11
<div class="gym-weights-container">
<input type="checkbox" />
<div class="gym-weights-checkmark">
<div class="weight-bar"></div>
<div class="weight-plate plate-1"></div>
<div class="weight-plate plate-2"></div>
<div class="lifting-motion"></div>
<span class="weights-icon">🏋️</span>
</div>
<span class="gym-weights-label">Gym Weights</span>
</div>Gym Weights Checkbox
0 viewsmedium
Background:
Gym Weights Checkbox
1
2
3
4
5
6
7
8
9
10
11
<div class="gym-weights-container">
<input type="checkbox" />
<div class="gym-weights-checkmark">
<div class="weight-bar"></div>
<div class="weight-plate plate-1"></div>
<div class="weight-plate plate-2"></div>
<div class="lifting-motion"></div>
<span class="weights-icon">🏋️</span>
</div>
<span class="gym-weights-label">Gym Weights</span>
</div>Was this helpful?
What is inside Gym Weights Checkbox
Gym Weights Checkbox is a CSS checkbox built with a keyframe animation, gradient fills, transforms, defined in 125 lines across 18 selectors.
28
CSS properties
18
Selectors
125
Lines of CSS
3
Formats
Techniques used
Keyframe animationTransitionsTransformsGradientsShadowsFiltersChecked stateFlexbox
Animations defined: weight-liftmotion-indicator
CSS properties in this component
align-itemsanimationanimation-delaybackgroundborderborder-colorborder-radiusbox-shadowcolorcursordisplayfilterfont-sizefont-weightgapheightinputjustify-contentleftopacityoverflowpositionrighttoptransformtransitionuser-selectwidthAccessibility 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.