Selector CSS ::first-line, it is used to select the first line of a text block of an element.
The amount of text selected in the first line of an element is determined by several factors such as the width of the element, the width of the document or the size of the text.
This type of selection has effect only on elements that have the “display” property and its value is one of the following: block, inline-block, table-cell or table-caption.
More Info Here:
https://www.cssinhtml.com/en/css_sele...
TRY IT YOUR SELF
If you want to try the code Example click one of the links below:
=============================================
https://jsfiddle.net/pcwebschools/4xL...
https://codepen.io/pcwebschools/pen/X...
=============================================
Buy me a Coffe
paypal.me/pcwebschool
Смотрите видео CSS pseudo-element ::first-line selector онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tech School “Pcwebschool” Media Es 03 Сентябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9 раз и оно понравилось людям.