div 四角边框
![](https://i-blog.csdnimg.cn/direct/a539790ed0ea4ea188d747b6446e518c.png)
background: linear-gradient(to left, #000, #000) left top no-repeat,
linear-gradient(to bottom, #000, #000) left top no-repeat,
linear-gradient(to left, #000, #000) right top no-repeat,
linear-gradient(to bottom, #000, #000) right top no-repeat,
linear-gradient(to left, #000, #000) left bottom no-repeat,
linear-gradient(to bottom, #000, #000) left bottom no-repeat,
linear-gradient(to left, #000, #000) right bottom no-repeat,
linear-gradient(to left, #000, #000) right bottom no-repeat;
background-size: 2px 15px, 15px 2px, 2px 15px, 15px 2px;