How to truncate text with CSS

In this post I show a technique of how to truncate one or more lines of text with CSS only and that is compatible with all modern browsers.

Frontend—  13 January, 2021