Beginner Guide
Table of Content
When setting a background color, we use
bg-<color>-<number>
Example bg-blue-100
bg
: shortcut of backgroundblue
: the color we want to use100
: darkness of the color, the greater the number, the dark of the colorWhen we don’t want an item to take up a whole space, we can set a padding to that item. We use
p-<number>
Example p-2
p
: shortcut for padding2
: number of padding we wantAdditionally, we can also set a padding direction: left, right, top, bottom