Earlier i was doing it dynamically using JS.. but we were getting some performance issues cuz of which we have to come with an alternative option.
I am now truncati
Works here:
.overme { width: 300px; overflow:hidden; white-space:nowrap; text-overflow: ellipsis; color: red; }
how much wood can a woodchuck chuck if a woodchuck could chuck wood?
Trailing dots/ellipsis are colored in red using that basic CSS.