把div的高宽都设置为0;
利用border来实现纯css的三角形
要是倒三角,则有border-top没有botton 左右border都不要;
如
width: 0; height: 0; border-width: 7px; border-style: solid; border-color: transparent; border-top-color: #fff;
(但是在css6下会有黑色背景,其他的没有,寻求方法解决中。。。)
把div的高宽都设置为0;
利用border来实现纯css的三角形
要是倒三角,则有border-top没有botton 左右border都不要;
如
width: 0; height: 0; border-width: 7px; border-style: solid; border-color: transparent; border-top-color: #fff;
(但是在css6下会有黑色背景,其他的没有,寻求方法解决中。。。)
使用Html5/Canvas绘制斜置黄色三角biohazard标志。
使用Html5/Canvas绘制黄色三角电离辐射警示标志
正三角和倒三角
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M