css 单行溢出省略号
时间: 2023-10-17 11:12:54 浏览: 88
CSS实现单行、多行文本溢出显示省略号的实现方法.pdf
要使用CSS实现单行溢出省略号,可以使用以下样式属性:
```css
.box1 {
height: 40px;
#### 引用[.reference_title]
- *1* *2* *3* [CSS实现溢出显示省略号](https://blog.csdn.net/sdasadasds/article/details/122166464)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文