Spinner
- Source
- Uiverse ↗
- Author
- SouravBandyopadhyay
- Licence
- MIT
Loading…
Code
<div class="hourglassBackground">
<div class="hourglassContainer">
<div class="hourglassCurves"></div>
<div class="hourglassCapTop"></div>
<div class="hourglassGlassTop"></div>
<div class="hourglassSand"></div>
<div class="hourglassSandStream"></div>
<div class="hourglassCapBottom"></div>
<div class="hourglassGlass"></div>
</div>
</div>Prompt
Build "Spinner", a loader 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 dark 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/SouravBandyopadhyay/rude-sloth-38 (SouravBandyopadhyay, MIT).