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

11 lines
333 B
SCSS
Raw Normal View History

2017-03-20 21:35:13 +02:00
/* ==========================================================================
Text Truncate Mixin
Requires inline-block or block for proper styling
========================================================================== */
@mixin text-truncate() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}