Posted By

Rakowskey on 09/26/12


Tagged

css CSS3 truncate webkit ellipsis


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Rakowskey


Webkit lastline truncate


 / Published in: CSS
 

Truncate the multiline text. Webkit Property.

  1. .Ellipsis {
  2. overflow: hidden;
  3. text-overflow: ellipsis;
  4. display: -webkit-box;
  5. -webkit-line-clamp: 12; /* number of lines to show */
  6. -webkit-box-orient: vertical;
  7. }

Report this snippet  

You need to login to post a comment.