Tailwind CSS · Lesson 6 of 24

Spacing: Padding and Margin

Control the space inside and around elements with p- and m- classes: the spacing scale, choosing sides, negative values, centering with mx-auto, and space between children with space- and gap-.

Lesson 6 of 24

Every lesson you finish brings you one step closer to your goal. Keep going!

Spacing: Padding and Margin · Tailwind CSS · Pro Lab | SAIOS Academy