伪类三角形
来源:互联网 发布:九鼎彩社用的软件 编辑:程序博客网 时间:2024/06/09 16:03
空心三角形
html:
<spanclass="square"></span>
css :
实心三角形
html:
<spanclass="square"></span>
css :
.square:after {
content:'';
display: inline-block;
width:8px;
height:8px;
border-top:1px solid#656565;
border-right:1px solid#656565;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}
实心三角形
.squarea:after{
content: "";
display: inline-block;
width: 0;
height: 0;
border-left: 3px solid transparent;
border-right: 5px solid transparent;
border-top: 10px solid red;
}
阅读全文
0 0
- 伪类三角形
- 用css伪类制作三角形
- css3 在伪类after中画三角形
- 伪类 伪元素
- 伪类 伪元素
- 伪元素/伪类
- 伪元素 & 伪类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- 三角形类
- HEVC率失真优化
- 109. Convert Sorted List to Binary Search Tree
- Attention Is All You Need 论文阅读笔记
- 初识Node.js
- (M)Dynamic Programming: 413. Arithmetic Slices
- 伪类三角形
- 史上最全量化交易资源整理
- Codeforces Round #437 (Div. 2, based on MemSQL Start[c]UP 3.0
- mac OSX10.12 sierra 安装python-ldap报missing sasl.h错误
- 单例模式之懒汉的并发问题
- Java 数据结构
- 87.乱串追源
- Codeforces 863DYet Another Array Queries Problem
- 为什么V8引擎这么快?