Skip to content

Glossary: Tailwind CSS

space-y

Also written: space-y-4

A class on a parent that puts an even vertical gap between its children, giving every child except the last a bottom margin. Inside flex and grid, `gap-` is usually better.

Where the book teaches it

Related terms

Spacing unitFlexbox