diff --git a/style/column.css b/style/column.css index 01de88f..af688f5 100644 --- a/style/column.css +++ b/style/column.css @@ -12,12 +12,16 @@ body { ul { list-style: none; } - +/* text-overflow 的正确配合用法 */ +li { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} a:link, a:visited { color: #fff; font-size: .9em; - text-decoration: none; - white-space: nowrap; + text-decoration: none; } li a:link, li a:visited { transition: all .3s ease-out;