Skip to content

Instantly share code, notes, and snippets.

@leohxj
Created October 18, 2018 01:27
Show Gist options
  • Save leohxj/e07f2128cc059505b5c26625a2fbdf34 to your computer and use it in GitHub Desktop.
Save leohxj/e07f2128cc059505b5c26625a2fbdf34 to your computer and use it in GitHub Desktop.
#css
width: 120px;
flex: auto;
display: -webkit-box;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment