- overflow [prototype-text-overflow] Text Truncate
/// @type String
$prototype-text-overflow: ellipsis !default;
+/// Image Replacement utility. `text-hide`
@mixin text-hide {
font: 0/0 a;
color: transparent;
border: 0;
}
+/// Truncating the text, elipsis by default.
+/// @param {String} $overflow [$prototype-text-overflow] Text Truncate
@mixin text-truncate(
$overflow: $prototype-text-overflow
) {
white-space: nowrap;
}
+/// No wrapping of the text. `text-nowrap`
@mixin text-nowrap {
white-space: nowrap;
}
+/// Wrapping of the text. `text-wrap`
@mixin text-wrap {
word-wrap: break-word;
}