邊界 leftrighttopbottom

border-[left|right|top|bottom] 屬性用於向元素的特定邊新增邊框。

例如,如果要在元素的左側新增邊框,則可以執行以下操作:

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