Heim >Web-Frontend >HTML-Tutorial >CSS中编写省略号代码片段_html/css_WEB-ITnose
#component-content #dtMain .dt-ul > li .component-item .component-name{
display:inline-block;
text-align:center;
height:37px;
line-height:37px;
padding:0px 10px 0px 10px;
width:90px;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
color:#4b555c;
font-family:'宋体';
font-weight:700;
}