Re: Text Overflow With ...

Simon Ferndriger schreef op 4-3-2015 om 13:40:
> A really great CSS enhancement would be, if I could tell a specific 
> tag, to cut the containing text to its maximal width and add 3 dots at 
> the end.
>
> [...]
>
> if I could set the following CSS:
> var {
>   text-overflow:cut;
>   text-overflow-after:'...';
>   /* or any similar syntax */
> }
>

Sounds like something that can currently be achieved with 
http://dev.w3.org/csswg/css-ui-3/#propdef-text-overflow (with a 
max-width and perhaps display:inline-block).

Received on Tuesday, 10 March 2015 17:24:23 UTC