::slotted()
The ::slotted()
CSS pseudo-element represents any element that has been placed into a slot inside an HTML template (see Using templates and slots for more information).
Safe to Use
::slotted()
is considered safe to use.
It’s supported by 93% of global browsers.
Browsers
ChromeApr 13, 2016v50.0.0
26%╱100%
There are no users of Chrome running a supported version.
SafariSep 20, 2016v10.0.05%╱96%
There are no users of Safari running a supported version.
EdgeJan 15, 2020v79.0.05%╱100%
There are no users of Edge running a supported version.
FirefoxOct 23, 2018v63.0.02%╱98%
There are no users of Firefox running a supported version.
Version Breakdown
Support
Adoption
Chrome
Apr 13, 2016 v50.0.0
26%╱100%
There are no users of Chrome running a supported version.
Apr 13, 2016 – Latest
v50.0.0+
26%╱100%
Full Support
Chrome Android
Apr 13, 2016 v50.0.0
36%╱100%
100% of Chrome Android users are running a supported version.
Apr 13, 2016 – Latest
v50.0.0+
36%╱100%
Full Support
Edge
Jan 15, 2020 v79.0.0
5%╱100%
There are no users of Edge running a supported version.
Jan 15, 2020 – Latest
v79.0.0+
5%╱100%
Full Support
Firefox
Oct 23, 2018 v63.0.0
2%╱98%
There are no users of Firefox running a supported version.
Oct 23, 2018 – Latest
v63.0.0+
2%╱98%
Full Support
Firefox for Android
Oct 23, 2018 v63.0.0
Firefox for Android supports this feature.
Oct 23, 2018 – Latest
v63.0.0+
Full Support
Internet Explorer
Unsupported
Internet Explorer does not support this feature.
No Support
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+
Full Support
Opera
May 4, 2016 v37.0.0
1%╱100%
100% of Opera users are running a supported version.
May 4, 2016 – Latest
v37.0.0+
1%╱100%
Full Support
Opera Android
Jun 16, 2016 v37.0.0
Opera Android supports this feature.
Jun 16, 2016 – Latest
v37.0.0+
Full Support
Safari
Sep 20, 2016 v10.0.0
5%╱96%
There are no users of Safari running a supported version.
Sep 20, 2016 – Latest
v10.0.0+
5%╱96%
Full Support
Safari on iOS
Sep 13, 2016 v10.0.0
16%╱99%
There are no users of Safari on iOS running a supported version.
Sep 13, 2016 – Latest
v10.0.0+
16%╱99%
Full Support
Samsung Internet
Dec 15, 2016 v5.0.0
2%╱95%
There are no users of Samsung Internet running a supported version.
Dec 15, 2016 – Latest
v5.0.0+
2%╱95%
Full Support
WebView Android
Apr 13, 2016 v50.0.0
WebView Android supports this feature.
Apr 13, 2016 – Latest
v50.0.0+
Full Support
See Also
:host
:host()
:host-context()
- CSS scoping module
- HTML
slot
attribute - HTML
<slot>
element - HTML
<template>
element - Web components