CSS Ellipsis Beginning of String

added by JavaScript Kicks
12/18/2018 2:40:24 AM

741 Views

I was incredibly happy when CSS text-overflow: ellipsis (married with fixed width and overflow: hidden was introduced to the CSS spec and browsers; the feature allowed us to stop trying to marry JavaScript width calculation with string width calculation and truncation. CSS ellipsis was also very friendly to accessibility.


0 comments