Size and Spacing
Same for margins except m
Class | Properties |
.p-0 | padding: 0; |
.p-2 | padding: .5rem; |
.py-4 | Y-axis: 1rem |
.px-6 | X-axis: 1.5rem |
.pb-8 | bottom: 2rem |
.pl-10 | Left: 2.5rem |
.pr-12 | Right: 3rem; |
.pt-16 | Top: 4rem; |
.w-0 | width:0; |
.min-w-0 | |
.max-w-xs | |
.h-full | height: 100%; |
.h-screen | height: 100vh; |
.w-1/2 | width: 50%; // |
.w-4/5 | width: 80%; |
//2,3,4,5,6,12 | all fractions of |
Last updated