Skip to content

Instantly share code, notes, and snippets.

@marshluca
Created January 20, 2016 07:34

Revisions

  1. Lucas Zhang created this gist Jan 20, 2016.
    6 changes: 6 additions & 0 deletions truncate.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    .truncate {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    }