CSS box border (border)
- grammar:
border : border-width ll border-style ll border-color
- Border style:
none:没有边框即忽略所有边框的宽度(默认值)
solid:边框为单实线(最为常用的)
dashed:边框为虚线
dotted:边框为点线
- E.g:
border: 1px solid red;没有顺序
Box border writing summary table
In many cases, we do not need to specify 4 borders, we can specify the 4 borders separately.