Files
jeynes.uk/_sass/basically-basic/mixins/_text-truncate.scss
T
WillJeynes 2dbdc59345 VERSION 2.0
2024-05-26 22:01:24 +01:00

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;
}