3 /// Truncates text and adds an ellipsis to represent overflow.
5 /// @argument {number} $width [100%]
6 /// The `max-width` for the string to respect before being truncated.
8 /// @argument {string} $display [inline-block]
9 /// Sets the display-value of the element.
13 /// @include ellipsis;
18 /// display: inline-block;
21 /// text-overflow: ellipsis;
22 /// white-space: nowrap;
23 /// word-wrap: normal;
28 $display: inline-block
33 text-overflow: ellipsis;