CSS设置超过两行或者单行显示...overflow: hiddentext-overflow: ellipsis text-overflow css3的属性,当文本溢出时,显示省略号display: -webkit-box-webkit-line-cla2023-02-18html-css1680