记录一下第一次写文章,有不对的地方请多指教
css中一行内容放不下,需要用省略号来代替
.title{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
感谢浏览,期待您的关注
记录一下第一次写文章,有不对的地方请多指教
css中一行内容放不下,需要用省略号来代替
.title{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
感谢浏览,期待您的关注