Skip to content

Instantly share code, notes, and snippets.

@vedranjaic
Created May 26, 2013 17:17

Revisions

  1. vedranjaic created this gist May 26, 2013.
    7 changes: 7 additions & 0 deletions character_limit_ellipsis.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    p {
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    }