Skip to main content

Borders

Utility classes for controlling border styles, colors, and border radius on elements.

Border Styles

ClassDescription
.border-solidSolid border style
.border-dashedDashed border style
.border-dottedDotted border style
.border-doubleDouble border style
.border-hiddenHidden border style
.border-noneNo border
.border-black1px solid black border

Border Radius

These classes apply a border radius to Beaver Builder rows, columns, and photo modules. They use the design system's radius tokens.

ClassRadius Token
.border-rad-0var(--radius-0)
.border-rad-xsvar(--radius-xs)
.border-rad-smvar(--radius-sm)
.border-rad-mdvar(--radius-md)
.border-rad-lgvar(--radius-lg)
.border-rad-xlvar(--radius-xl)
.border-rad-2xvar(--radius-xxl)
.rounded-fullFully rounded (pill/circle)

Usage

Add the class to a Beaver Builder row, column, or photo module:

<div class="border-rad-lg">
<!-- Content with large rounded corners -->
</div>

For photo modules, the radius is applied directly to the .fl-photo-img element.

Individual Corner Radius

You can also control each corner independently. These work on general elements and Beaver Builder photo modules.

Top Left

ClassRadius Token
.rounded-tl-0var(--radius-0)
.rounded-tl-xsvar(--radius-xs)
.rounded-tl-smvar(--radius-sm)
.rounded-tl-mdvar(--radius-md)
.rounded-tl-lgvar(--radius-lg)
.rounded-tl-xlvar(--radius-xl)
.rounded-tl-2xvar(--radius-xxl)

Top Right

ClassRadius Token
.rounded-tr-0var(--radius-0)
.rounded-tr-xsvar(--radius-xs)
.rounded-tr-smvar(--radius-sm)
.rounded-tr-mdvar(--radius-md)
.rounded-tr-lgvar(--radius-lg)
.rounded-tr-xlvar(--radius-xl)
.rounded-tr-2xvar(--radius-xxl)

Bottom Right

ClassRadius Token
.rounded-br-0var(--radius-0)
.rounded-br-xsvar(--radius-xs)
.rounded-br-smvar(--radius-sm)
.rounded-br-mdvar(--radius-md)
.rounded-br-lgvar(--radius-lg)
.rounded-br-xlvar(--radius-xl)
.rounded-br-2xvar(--radius-xxl)

Bottom Left

ClassRadius Token
.rounded-bl-0var(--radius-0)
.rounded-bl-xsvar(--radius-xs)
.rounded-bl-smvar(--radius-sm)
.rounded-bl-mdvar(--radius-md)
.rounded-bl-lgvar(--radius-lg)
.rounded-bl-xlvar(--radius-xl)
.rounded-bl-2xvar(--radius-xxl)

Example: Mixed Corners

<!-- Large radius on top corners, no radius on bottom -->
<div class="rounded-tl-lg rounded-tr-lg rounded-bl-0 rounded-br-0">
<img src="..." />
</div>