Toggle
- Source
- Uiverse ↗
- Author
- Arqui9897
- Licence
- MIT
Loading…
Code
<label>
<input checked="" name="example" class="option-input radio circlegg" type="radio">
</label>
<label>
<input name="example" class="option-input radio circlegg" type="radio">
</label>
<label>
<input name="example" class="option-input radio circlegg" type="radio">
</label>Prompt
Build "Toggle", a toggle animation. Write it as plain HTML and CSS: one container element and a stylesheet, no JavaScript unless it is essential. Technique: CSS keyframes. It sits on a light background, in a 16:10 frame. Respect prefers-reduced-motion with a still state, pause work when the element is off screen, and keep it accessible. Original: https://uiverse.io/Arqui9897/stupid-kangaroo-64 (Arqui9897, MIT).