m - sets margin
p - sets padding
t - sets margin-top or padding-top
b - sets margin-bottom or padding-bottom
l - sets margin-left or padding-left
r - sets margin-right or padding-right
x - sets both padding-left and padding-right or margin-left and margin-right
y - sets both padding-top and padding-bottom or margin-top and margin-bottom
blank - sets a margin or padding on all 4 sides of the element
0 - sets margin or padding to 0
1 - sets margin or padding to .25rem (4px if font-size is 16px)
2 - sets margin or padding to .5rem (8px if font-size is 16px)
3 - sets margin or padding to 1rem (16px if font-size is 16px)
4 - sets margin or padding to 1.5rem (24px if font-size is 16px)
5 - sets margin or padding to 3rem (48px if font-size is 16px)
auto - sets margin to auto
'프로그래밍' 카테고리의 다른 글
[Java Spring Boot] Jpa Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (0) | 2021.05.27 |
---|---|
Object Calisthenics (0) | 2021.03.02 |
TDD and BDD (0) | 2021.03.02 |
Blazor (0) | 2021.03.02 |
Javascript 값 복사 (copy value) (0) | 2021.03.02 |