Border Radius
Utilities for controlling the border radius of an element.
| Class | CSS Output |
|---|---|
rounded |
|
rounded-none |
|
rounded-sm |
|
rounded-md |
|
rounded-lg |
|
rounded-full |
|
rounded-t-md |
|
rounded-tl-lg |
|
rounded-[12px] |
|
rounded
border-radius: 0.25rem;
rounded-none
border-radius: 0;
rounded-sm
border-radius: var(--radius-sm);
rounded-md
border-radius: var(--radius-md);
rounded-lg
border-radius: var(--radius-lg);
rounded-full
border-radius: calc(infinity * 1px);
rounded-t-md
border-top-left-radius: var(--radius-md); border-top-right-radius: var(--radius-md);
rounded-tl-lg
border-top-left-radius: var(--radius-lg);
rounded-[12px]
border-radius: 12px;
Reference
| border-radius | MDN ↗ |
| border-top-left-radius | MDN ↗ |
| border-top-right-radius | MDN ↗ |
CSS Properties
border-radiusborder-top-left-radiusborder-top-right-radius