update
This commit is contained in:
parent
bf613005f0
commit
222e7f64b0
BIN
.local/static/2019/10/2/1574738229230.1574738229286.png
Normal file
BIN
.local/static/2019/10/2/1574738229230.1574738229286.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 336 B |
17
css绘制三角形.md
17
css绘制三角形.md
@ -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>
|
||||||
|
```
|
||||||
|
这样就
|
||||||
|
Loading…
Reference in New Issue
Block a user