website/assets/sass/bourbon/addons/_ellipsis.scss

9 lines
171 B
SCSS
Raw Normal View History

2015-08-30 12:34:43 -04:00
@mixin ellipsis($width: 100%) {
display: inline-block;
max-width: $width;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-wrap: normal;
}