Skip to content

Instantly share code, notes, and snippets.

@houoop
Created January 26, 2013 07:09
Show Gist options
  • Save houoop/4640687 to your computer and use it in GitHub Desktop.
Save houoop/4640687 to your computer and use it in GitHub Desktop.
CSS 超出文字变省略号
width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment