Promptles
Layout & Responsive Design

Tailwind CSS

intermediate

Definition

A CSS toolkit where you style things by adding short ready-made class names (labels on an HTML element), such as `p-4` for padding or `text-lg` for larger text, instead of writing separate style rules.

In the wild

`<div class="flex flex-col md:flex-row">` stacks its items on phones and places them side by side on wider screens, with no extra CSS.

More from Layout & Responsive Design