Home  >  Article  >  Web Front-end  >  Lining.js

Lining.js

WBOY
WBOYOriginal
2016-06-24 11:52:051199browse

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

🎜>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn