forked from theluyuan/Web
12 lines
136 B
Markdown
12 lines
136 B
Markdown
|
|
||
|
|
||
|
### 让文字只显示一行,超出显示省略号
|
||
|
|
||
|
```css
|
||
|
overflow: hidden;
|
||
|
white-space: nowrap;
|
||
|
text-overflow: ellipsis;
|
||
|
|
||
|
```
|
||
|
|