DEV Community

Discussion on: Write Fewer Media Queries With the Clamp() CSS Function

Collapse
 
jeremysawesome_86 profile image
Jeremy Smith

Awesome! Thank you for the article and the examples. Much appreciated!

Reading this reminded me of a Github project I saw a couple months ago that allows you to clamp "a line" of text so that the same number of words stay on it regardless of font size.

github.com/tvanc/lineclamp