css 设置多行文本的行间距

css 设置多行文本的行间距,第1张

css 设置行文本的行间距 css 设置多行文本的行间距 block element

span


.ticket-card-info{
line-height:16px;
display: inline-block;
} .ticket-card-info{
width:242px;
height:32px;
font-size: 11px;
font-family:PingFang-SC-Regular,PingFang-SC;
font-weight:400;
color:#999999;
line-height:16px;
display: inline-block;
margin-top: 8px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
css & text-overflow & ellipsis

css & multi line words & ellipsis

https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=css ellipsis

See the Pen Pure CSS multiline text with ellipsis by xgqfrms
(@xgqfrms) on CodePen.

xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/588908.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-12
下一篇 2022-04-12

发表评论

登录后才能评论

评论列表(0条)

保存