Skip to content

Instantly share code, notes, and snippets.

@pixelchar
Created June 12, 2014 15:03
Show Gist options
  • Save pixelchar/6809605e97bd014735a4 to your computer and use it in GitHub Desktop.
Save pixelchar/6809605e97bd014735a4 to your computer and use it in GitHub Desktop.
Ellipsis mixin from Chris Coyier (as seen here: http://codepen.io/chriscoyier/blog/some-mini-sass-mixins-i-like)
@mixin ellipsis() {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment