Button
- Source
- Uiverse ↗
- Author
- himanshu9682
- Licence
- MIT
Loading…
Code
<div class="container">
<a href="#" class="button type--C">
<div class="button__line"></div>
<div class="button__line"></div>
<span class="button__text">ENTRY</span>
<div class="button__drow1"></div>
<div class="button__drow2"></div>
</a>
</div>Prompt
Build "Button", a button 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/himanshu9682/wise-shrimp-26 (himanshu9682, MIT).