This commit is contained in:
pplokijuhyg 2019-11-26 11:18:01 +08:00
parent bf613005f0
commit 222e7f64b0
2 changed files with 17 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

View File

@ -3,3 +3,20 @@
## 实现原理 ##
确定底部将其他边框设置为透明 最后一个确定颜色
## 实现过程 ##
![title](.local/static/2019/10/2/1574738229230.1574738229286.png)
css代码
```
.box{
width: 10px;
height: 10px;
border-top: red solid 10px;
border-bottom: blue solid 10px;
border-left: yellow solid 10px;
border-right: green solid 10px;
}
```
html
```
<div class="box"></div>
```
这样就