QuickSnip LogoA light blue logo with a thunderbolt in bracketsQuickSnip

Text Overflow Ellipsis

Ensures long text is truncated with an ellipsis.

  • mixin
  • text

Code

@mixin text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}