overflow:hidden; /*文字溢出隐藏*/ text-overflow:ellipsis;/*文字溢出的部分隐藏并用省略号代替*/ white-space:nowrap;/*文本不自动换行*/ l例子: