add: 常用免费字体

This commit is contained in:
qianguyihao
2019-11-03 14:20:08 +08:00
parent 6b3c0bfaee
commit dfe6ce722a
6 changed files with 138 additions and 13 deletions

View File

@@ -2,10 +2,24 @@
### 让文字只显示一行,超出显示省略号
```css
```
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
```
### 让文字最多只显示两行,超出后显示省略号
```
overflow:hidden;
text-overflow:ellipsis;
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:2;
```