This content originally appeared on remy sharp's b:log and was authored by remy sharp's b:log
I know about CSS's text-overflow: ellipsis
but it nearly never works first time for me. I totally missed that the property needs two other properties in play against the element:
overflow: hidden;
white-space: nowrap;
It's that second one, the white-space
I always forget!
Originally published on Remy Sharp's b:log
This content originally appeared on remy sharp's b:log and was authored by remy sharp's b:log
remy sharp's b:log | Sciencx (2020-11-06T19:13:58+00:00) Text overflow [til/css]. Retrieved from https://www.scien.cx/2020/11/06/text-overflow-til-css/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.