Border Width
Set border thickness on all sides or target individual edges and axes with directional variants like
border-t-*, border-x-*, and more.Border Style
Choose how border lines are drawn —
border-solid for crisp outlines, border-dashed for optional framing, or border-none to remove a border entirely.Border Radius
Round corners uniformly or target specific sides and individual corners using
rounded-* utilities, from rounded-sm to rounded-full.Border Colors
Pair any border with a color utility. Use semantic tokens like
border-primary for brand accents, or neutral tones like border-gray and border-gray-light.Common Patterns
When combining border utilities, you’ll reach for a small set of recurring combinations depending on the surface you’re styling. Soft dividers — use a light neutral color to separate content without visual weight:Complete Border Shorthand
A fully-formed border always combines width, style, radius, and color. This is the recommended pattern for any bordered surface in Elementor:| Class | Role | Result |
|---|---|---|
border-2 | Width | Sets a 2px border (fluid, scales to 2.5px) |
border-solid | Style | Draws a solid, unbroken line |
border-gray | Color | Applies a neutral mid-gray stroke |
rounded-lg | Radius | Rounds all four corners to 8px |