Skip to main content

3 docs tagged with "tailwindcss-layout"

View all tags

Flexbox layout

How to build Flexbox layouts with Tailwind CSS. From creating a flex container, it organizes flex-direction / flex-wrap / justify-content / align-items / gap / order in tables, then cements it with navigation bar / card / search form implementations.

Grid Layout

How to leverage CSS Grid with Tailwind CSS. It systematically covers grid-cols / grid-rows, col-span / row-span, place-items, grid-auto-flow, and subgrid support, then cements it with dashboard / card gallery / image grid implementations.

Spacing

Tailwind CSS's 4px-based spacing system. It compares padding / margin / gap / space-* / logical properties (ps/pe), and organizes negative margins for full-bleed layouts and v4's arbitrary-value syntax through practical examples.