Home > Article > Web Front-end > Lining.js
In CSS, we use the ::first-line selector to apply styles to the first line of content of the element. But there are currently no selectors like ::nth-line, ::nth-last-line or even ::last-line. In fact, this selector is very useful in some situations, and Lining.js provides such functionality.
Online demo Plug-in download
🎜>