Advanced cross-browser ellipsis for multiple line content.
Text only:
before:
after:
Text with markup:
before:
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic typesetting.
after:
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic typesetting.
With an "after"-element:
before:
after:
Updating onWindowResize:
before:
after:
Toggle the full story
before:
after:
Truncate readable pathnames
before:
after: