How can I achieve multi-line truncate #3179
Answered
by
adamwathan
thesobercoder
asked this question in
Help
-
I have a specific need to truncate after 2 lines, I don't seem to find a way to do it Tailwind. Please help. |
Beta Was this translation helpful? Give feedback.
Answered by
adamwathan
Dec 23, 2020
Replies: 2 comments
-
You'll probably need to write custom CSS or possibly even JS for this, here's a good article: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
thesobercoder
-
Thanks Adam. I found this plugin for now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll probably need to write custom CSS or possibly even JS for this, here's a good article:
https://css-tricks.com/line-clampin/