Skip to content

Commit

Permalink
new feature added
Browse files Browse the repository at this point in the history
text-overflow in  column view
  • Loading branch information
Brant-Ma committed Apr 9, 2016
1 parent ee5fac9 commit 903d8fb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions style/column.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 903d8fb

Please sign in to comment.