::first-line

Read More at MDN DocsView Spec

Safe to Use

::first-line is considered safe to use.

It’s supported by 94% of global browsers.

Browsers

ChromeDec 11, 2008v1.0.0
26%100%
100% of Chrome users are running a supported version.
SafariJun 23, 2003v1.0.0
5%100%
100% of Safari users are running a supported version.
EdgeJul 28, 2015v12.0.0
5%100%
100% of Edge users are running a supported version.
FirefoxNov 9, 2004v1.0.0
3%100%
100% of Firefox users are running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Dec 11, 2008 v1.0.0
26%100%
100% of Chrome users are running a supported version.
Dec 11, 2008 – Latest
v1.0.0+
26%100%

Full Support

Before Chrome 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Dec 11, 2008 – Latest
v1.0.0+
26%100%

Alternate name: :first-line

Before Chrome 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Chrome Android
Jun 27, 2012 v18.0.0
36%100%
100% of Chrome Android users are running a supported version.
Jun 27, 2012 – Latest
v18.0.0+
36%100%

Full Support

Before Chrome 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Jun 27, 2012 – Latest
v18.0.0+
36%100%

Alternate name: :first-line

Before Chrome 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Edge
Jul 28, 2015 v12.0.0
5%100%
100% of Edge users are running a supported version.
Jul 28, 2015 – Latest
v12.0.0+
5%100%

Full Support

Jul 28, 2015 – Latest
v12.0.0+
5%100%

Alternate name: :first-line

Firefox
Nov 9, 2004 v1.0.0
3%100%
100% of Firefox users are running a supported version.
Nov 9, 2004 – Latest
v1.0.0+
3%100%

Full Support

Nov 9, 2004 – Latest
v1.0.0+
3%100%

Alternate name: :first-line

Firefox for Android
Mar 29, 2011 v4.0.0
Firefox for Android supports this feature.
Mar 29, 2011 – Latest
v4.0.0+

Full Support

Mar 29, 2011 – Latest
v4.0.0+

Alternate name: :first-line

Internet Explorer
Mar 14, 2011 v9.0.0
0%94%
There are no users of Internet Explorer running a supported version.
Mar 14, 2011 – Latest
v9.0.0+
0%94%

Full Support

Jul 6, 2000 – Latest
v5.5.0+
0%100%

Alternate name: :first-line

 
Quest Browser
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+

Full Support

Before Chrome 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Unknown
v5.0.0+

Alternate name: :first-line

Before Chrome 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Opera
Jan 28, 2003 v7.0.0
1%100%
100% of Opera users are running a supported version.
Jan 28, 2003 – Latest
v7.0.0+
1%100%

Full Support

From Opera 15 to Opera 49 (exclusive), the text-transform property does not work on ::first-line or :first-line pseudo-elements. See Chromium bug 129669.

Nov 18, 1998 – Latest
v3.5.0+
1%100%

Alternate name: :first-line

From Opera 15 to Opera 49 (exclusive), the text-transform property does not work on ::first-line or :first-line pseudo-elements. See Chromium bug 129669.

Opera Android
Nov 9, 2010 v10.1.0
Opera Android supports this feature.
Nov 9, 2010 – Latest
v10.1.0+

Full Support

From Opera 15 to Opera 49 (exclusive), the text-transform property does not work on ::first-line or :first-line pseudo-elements. See Chromium bug 129669.

Nov 9, 2010 – Latest
v10.1.0+

Alternate name: :first-line

From Opera 15 to Opera 49 (exclusive), the text-transform property does not work on ::first-line or :first-line pseudo-elements. See Chromium bug 129669.

Safari
Jun 23, 2003 v1.0.0
5%100%
100% of Safari users are running a supported version.
Jun 23, 2003 – Latest
v1.0.0+
5%100%

Full Support

The text-transform property does not work for ::first-line or :first-line pseudo-elements. See WebKit bug 3409.

Jun 23, 2003 – Latest
v1.0.0+
5%100%

Alternate name: :first-line

The text-transform property does not work for ::first-line or :first-line pseudo-elements. See WebKit bug 3409.

Safari on iOS
Jun 29, 2007 v1.0.0
17%100%
100% of Safari on iOS users are running a supported version.
Jun 29, 2007 – Latest
v1.0.0+
17%100%

Full Support

The text-transform property does not work for ::first-line or :first-line pseudo-elements. See WebKit bug 3409.

Jun 29, 2007 – Latest
v1.0.0+
17%100%

Alternate name: :first-line

The text-transform property does not work for ::first-line or :first-line pseudo-elements. See WebKit bug 3409.

Samsung Internet
Apr 27, 2013 v1.0.0
2%100%
100% of Samsung Internet users are running a supported version.
Apr 27, 2013 – Latest
v1.0.0+
2%100%

Full Support

Before Samsung Internet 8.0, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Apr 27, 2013 – Latest
v1.0.0+
2%100%

Alternate name: :first-line

Before Samsung Internet 8.0, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

WebView Android
Sep 3, 2014 v37.0.0
WebView Android supports this feature.
Sep 3, 2014 – Latest
v37.0.0+

Full Support

Before WebView 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

Sep 3, 2014 – Latest
v37.0.0+

Alternate name: :first-line

Before WebView 62, the text-transform property does not work on ::first-line pseudo-elements. See Chromium bug 129669.

See Also

Contribute