datat.fi/_sass/basically-basic/mixins/_text-truncate.scss

11 lines
333 B
SCSS

/* ==========================================================================
Text Truncate Mixin
Requires inline-block or block for proper styling
========================================================================== */
@mixin text-truncate() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}