CSS State Machine

A component moves through compact, comfortable, and spacious states using its own container width.

CSS State Machine COMPACT COMFORTABLE SPACIOUS