Border Radius
Set the radius for element borders.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
br-0border-radius: 0;br-xsborder-radius: 0.125rem;br-smborder-radius: 0.25rem;br-mdborder-radius: 0.375rem;br-lgborder-radius: 0.5rem;br-xlborder-radius: 0.75rem;br-xxlborder-radius: 1rem;br-3xlborder-radius: 1.5rem;br-fullborder-radius: 100%;br-halfborder-radius: 50%;br-pillborder-radius: 9999px;br-pxborder-radius: 1px;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:br-(value)Small≥640px
md:br-(value)Medium≥768px
lg:br-(value)Large≥1024px
xxl:br-(value)Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:br-(value)Negative Values
Use negative variants to apply negative border radius values.
Use the -- syntax to apply negative numeric values.
Syntax:
br--(value)