边界 leftrighttopbottom

border-[left|right|top|bottom] 属性用于向元素的特定边添加边框。

例如,如果要在元素的左侧添加边框,则可以执行以下操作:

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