Border Top Right Radius
Set the top-right border radius for an element.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
btrr-0border-top-right-radius: 0;btrr-xsborder-top-right-radius: 0.125rem;btrr-smborder-top-right-radius: 0.25rem;btrr-mdborder-top-right-radius: 0.375rem;btrr-lgborder-top-right-radius: 0.5rem;btrr-xlborder-top-right-radius: 0.75rem;btrr-xxlborder-top-right-radius: 1rem;btrr-3xlborder-top-right-radius: 1.5rem;btrr-fullborder-top-right-radius: 100%;btrr-halfborder-top-right-radius: 50%;btrr-pillborder-top-right-radius: 9999px;btrr-pxborder-top-right-radius: 1px;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:btrr-(value)Small≥640px
md:btrr-(value)Medium≥768px
lg:btrr-(value)Large≥1024px
xxl:btrr-(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:btrr-(value)Logical Properties
Use logical properties to adapt to the document's writing mode & direction.
Border Start End Radius
Set the logical start-end border radius for an element.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
bser-0border-start-end-radius: 0;bser-xsborder-start-end-radius: 0.125rem;bser-smborder-start-end-radius: 0.25rem;bser-mdborder-start-end-radius: 0.375rem;bser-lgborder-start-end-radius: 0.5rem;bser-xlborder-start-end-radius: 0.75rem;bser-xxlborder-start-end-radius: 1rem;bser-3xlborder-start-end-radius: 1.5rem;bser-fullborder-start-end-radius: 100%;bser-halfborder-start-end-radius: 50%;bser-pillborder-start-end-radius: 9999px;bser-pxborder-start-end-radius: 1px;