2.8 text-clamp() View in a new window

Cross-browser text clamp function

Parameters:
  • $line-height
    Line height of text
  • $lines-to-show
    Number of lines to show