CSS interaction lab

10 Animated CSS Buttons

Live CSS

TypewriterA stepped text reveal turns a quiet label into a tiny status update.

01

Typewriter

02

Rocket

03

Icon Swap

04

Spark

05

Circle Expand

06

Shine

07

Flip

08

Expand

09

Badge Arrow

10

Warp

typewriter.css
01 / 10
.typewriter {  min-width: 8.5rem;  border: 0.125rem solid #9b4bd0;  border-radius: 0.65rem;  background: transparent;  padding: 0.8rem 1.25rem;} .typewriter span { position: relative; } .typewriter:hover span { color: transparent; } .typewriter:hover span::after {  content: attr(data-hover);  position: absolute;  inset: 0 auto auto 0;  width: 0;  overflow: hidden;  color: #a43caf;  border-right: 0.12rem solid currentColor;  white-space: nowrap;  animation: type 0.7s steps(6) forwards;} @keyframes type { to { width: 6ch; } }