website/_sass/bootstrap/scss/mixins/_text-truncate.scss

8 lines
167 B
SCSS
Raw Permalink Normal View History

2016-06-26 16:37:52 +00:00
// Text truncate
// Requires inline-block or block for proper styling
@mixin text-truncate() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}