Home >Web Front-end >HTML Tutorial >Collection of CSS skills_html/css_WEB-ITnose
1. Redundant characters are omitted
.ellipsis{ display: block; /*定义显示形式*/ overflow: hidden; /*截取超出字符*/ text-overflow: ellipsis; /*超出字符以…代替*/ white-space: nowrap; /*确定超出宽度字符不换行*/}
2.