CSS Border border-[left|right|top|bottom]


Example

The border-[left|right|top|bottom] property is used to add a border to a specific side of an element.

For example if you wanted to add a border to the left side of an element, you could do:

#element {
    border-left: 1px solid black;
}