wiki-grav/themes/learn2/scss/vendor/bourbon/addons/_ellipsis.scss
2022-06-24 18:08:45 +02:00

8 lines
150 B
SCSS

@mixin ellipsis($width: 100%) {
display: inline-block;
max-width: $width;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}