Individual Border Sides
CSS provides longhand properties for each side of the border independently: border-top, border-right, border-bottom, and border-left. Each is itself a shorthand for its own width, style, and colour.
When to Use
Individual sides are useful for decorative accents, underlines, dividers, and left-edge indicators — without affecting the other three sides.
Mixing Styles
You can combine different styles on different sides for creative effects, though consistency is usually preferred for UI components.
Logical Properties
Modern CSS provides logical equivalents: border-block-start, border-block-end, border-inline-start, and border-inline-end — these adapt to writing direction automatically.