Webkit lastline truncate

/ Published in: CSS
Save to your folder(s)

Truncate the multiline text. Webkit Property.

Copy this code and paste it in your HTML
  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


RSS Icon Subscribe to comments

You need to login to post a comment.