1.单行文本省略
white-space : nowrap; overflow : hidden; text-overflow: ellipsis;
2.多行文本省略
overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; word-break: break-all; white-space: normal; -webkit-line-clamp: 2;
posted on 2020-05-22 09:25 秃了头也不退休 阅读(134) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 秃了头也不退休 Powered by .NET 8.0 on Kubernetes