Skip to content

Instantly share code, notes, and snippets.

@plapier
Created February 14, 2013 18:18
Show Gist options
  • Save plapier/4954935 to your computer and use it in GitHub Desktop.
Save plapier/4954935 to your computer and use it in GitHub Desktop.
Sass Ellipsis Mixin
@mixin ellipsis ($max-width){
display: inline-block;
max-width: $max-width;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment