文字超出显示省略号
/*<p class=‘text-ellipsis‘></p>*/ .text-ellipsis{ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
清除浮动
/*<div class=‘clearfix‘></div>*/ .clearfix:after { display: block; content: ‘‘; clear: both; height:0; } /* or */ .clearfix { overflow: hidden; clear: both; }
时间: 2024-08-29 13:28:26