Add custom text at the end of ellipsis inline

Keywords: css flexbox ellipsis


I am trying to add a text at the end of ellipsis. Basically, i am currently showing ellipsis at the end of 2nd line of a long text. I am looking for a way to display a text "See More" at the end of the ellipsis which has an onclick functionality that expands.

I researched a bit on stackoverflow for previous discussions and found this discussion .

But that is regarding android fix and i am looking for a CSS fix for this issue

Current View: This is very long te...

Expected: This is very long te... See More

PS: I was can achieve it if it is a single line but in a double line i couldnt get the desired functionality.