Skip to content

Instantly share code, notes, and snippets.

@fancyboynet
Last active October 26, 2015 10:35
Show Gist options
  • Select an option

  • Save fancyboynet/bd80f9e2036703739a2e to your computer and use it in GitHub Desktop.

Select an option

Save fancyboynet/bd80f9e2036703739a2e to your computer and use it in GitHub Desktop.

Revisions

  1. fancyboynet revised this gist Oct 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion demo.css
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,6 @@ div{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; //3行高
    -webkit-line-clamp: 3; /*3行高*/
    -webkit-box-orient: vertical;
    }
  2. fancyboynet revised this gist Sep 25, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion demo.css
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    .demo{
    div{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
  3. fancyboynet created this gist Sep 25, 2015.
    7 changes: 7 additions & 0 deletions demo.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    .demo{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; //3行高
    -webkit-box-orient: vertical;
    }