Skip to content

Border Radius

Border radius utilities round element corners on a shared size scale, with optional targeting of individual sides or corners.

SizeValueUse
none0Removes rounding
sm0.25remSubtle rounding on small elements (inputs, tags)
md0.5remDefault rounding for cards and panels
lg0.75remLarger rounding for prominent containers
xl1remHeavy rounding for hero/feature panels
full999pxPill shapes (buttons, chips)
circle50%Circular shapes (avatars, icon badges)

Pattern: .util-radius-<corner>-<size>

  • all — all four corners
  • top — top-left and top-right
  • bottom — bottom-left and bottom-right
  • left — top-left and bottom-left
  • right — top-right and bottom-right
  • top-left, top-right, bottom-left, bottom-right — a single corner
A card rounded on all corners with .util-radius-all-md
<div class="util-background-odyssey util-radius-all-md util-pad-all-md">
A card rounded on all corners with
<code>.util-radius-all-md</code>
</div>
<div class="util-radius-all-md">Card content</div>
Pill shape with .util-radius-all-full
<div
class="util-background-odyssey util-radius-all-full util-inline-block util-pad-vert-sm util-pad-horiz-lg"
>
Pill shape with
<code>.util-radius-all-full</code>
</div>

border-radius: 50% only renders as a true circle when width and height are equal. Pair .util-radius-all-circle with a .util-square-* size to force equal dimensions on any content — an image, an icon, or a short label:

<img
src="/favicon-150x150.png"
alt
class="util-background-odyssey util-square-xxl util-radius-all-circle util-pad-all-sm"
/>
<img src="avatar.jpg" alt="" class="util-square-xl util-radius-all-circle" />
Rounded only on top with .util-radius-top-lg
<div class="util-background-odyssey util-radius-top-lg util-pad-all-md">
Rounded only on top with
<code>.util-radius-top-lg</code>
</div>