모서리
border-radius
모서리 둥글기. 카드는 md, 시트는 lg, 버튼·칩은 pill.
| Class | Styles |
|---|---|
| rounded-xs | border-radius: var(--radius-xs); /* 6px */ |
| rounded-sm | border-radius: var(--radius-sm); /* 10px */ |
| rounded-md | border-radius: var(--radius-md); /* 16px */ |
| rounded-lg | border-radius: var(--radius-lg); /* 24px */ |
| rounded-xl | border-radius: var(--radius-xl); /* 32px */ |
| rounded-pill | border-radius: var(--radius-pill); /* 999px */ |
| rounded-t-xs | border-top-*-radius: var(--radius-xs); /* 6px */ |
| rounded-t-sm | border-top-*-radius: var(--radius-sm); /* 10px */ |
| rounded-t-md | border-top-*-radius: var(--radius-md); /* 16px */ |
| rounded-t-lg | border-top-*-radius: var(--radius-lg); /* 24px */ |
| rounded-t-xl | border-top-*-radius: var(--radius-xl); /* 32px */ |
| rounded-t-pill | border-top-*-radius: var(--radius-pill); /* 999px */ |
| rounded-b-xs | border-bottom-*-radius: var(--radius-xs); /* 6px */ |
| rounded-b-sm | border-bottom-*-radius: var(--radius-sm); /* 10px */ |
| rounded-b-md | border-bottom-*-radius: var(--radius-md); /* 16px */ |
| rounded-b-lg | border-bottom-*-radius: var(--radius-lg); /* 24px */ |
| rounded-b-xl | border-bottom-*-radius: var(--radius-xl); /* 32px */ |
| rounded-b-pill | border-bottom-*-radius: var(--radius-pill); /* 999px */ |
| rounded-l-xs | border-left-*-radius: var(--radius-xs); /* 6px */ |
| rounded-l-sm | border-left-*-radius: var(--radius-sm); /* 10px */ |
| rounded-l-md | border-left-*-radius: var(--radius-md); /* 16px */ |
| rounded-l-lg | border-left-*-radius: var(--radius-lg); /* 24px */ |
| rounded-l-xl | border-left-*-radius: var(--radius-xl); /* 32px */ |
| rounded-l-pill | border-left-*-radius: var(--radius-pill); /* 999px */ |
| rounded-r-xs | border-right-*-radius: var(--radius-xs); /* 6px */ |
| rounded-r-sm | border-right-*-radius: var(--radius-sm); /* 10px */ |
| rounded-r-md | border-right-*-radius: var(--radius-md); /* 16px */ |
| rounded-r-lg | border-right-*-radius: var(--radius-lg); /* 24px */ |
| rounded-r-xl | border-right-*-radius: var(--radius-xl); /* 32px */ |
| rounded-r-pill | border-right-*-radius: var(--radius-pill); /* 999px */ |
예제
기본
xs
sm
md
lg
xl
pill
<div class="rounded-xs ..."></div>
<div class="rounded-sm ..."></div>
<div class="rounded-md ..."></div>
<div class="rounded-lg ..."></div>
<div class="rounded-xl ..."></div>
<div class="rounded-pill ..."></div>
한쪽만
rounded-t-lg
rounded-b-lg
rounded-l-lg
rounded-r-lg
<div class="rounded-t-lg ..."></div>
<div class="rounded-b-lg ..."></div>
<div class="rounded-l-lg ..."></div>
<div class="rounded-r-lg ..."></div>