Created
June 19, 2019 05:37
-
-
Save jsakhil/cf41a4358c09680e26c018fca9553845 to your computer and use it in GitHub Desktop.
-webkit-line-clamp property Multiline Truncate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p.multiline { | |
overflow: hidden; | |
display: -webkit-box; | |
-webkit-line-clamp: 2; | |
-webkit-box-orient: vertical; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment