mozilla

Compare Revisions

::first-line (:first-line)

Change Revisions

Revision 312943:

Revision 312943 by FredB on

Revision 330351:

Revision 330351 by Azaryah on

Title:
::first-line (:first-line)
::first-line (:first-line)
Slug:
CSS/::first-line
CSS/::first-line
Tags:
"css", "NeedsMobileBrowserCompatibility", "CSS Reference", "Selectors"
"css", "NeedsMobileBrowserCompatibility", "CSS Reference", "Selectors"
Content:

Revision 312943
Revision 330351
t14      The <code>::first-line</code> <a href="/en/CSS" title="CSS"t14      The <code>::first-line</code> <a href="/en/CSS" title="CSS"
>>CSS</a> <a href="/en/CSS/Pseudo-elements" title="Pseudo-elements>>CSS</a> <a href="/en/CSS/Pseudo-elements" title="Pseudo-elements
>">pseudo-element</a> applies styles only to the first line of a e>">pseudo-element</a> applies styles only to the first line of an 
>lement. The amount of the text on the first line depends of numer>element. The amount of the text on the first line depends of nume
>ous factors, like the width of the elements or of the document, b>rous factors, like the width of the elements or of the document, 
>ut also of the font size of the text. As all pseudo-elements, the>but also of the font size of the text. As all pseudo-elements, th
> selectors containing <code>::first-line</code> does not match an>e selectors containing <code>::first-line</code> does not match a
>y real HTML element.>ny real HTML element.

Back to History