CSS3 selectors

- REC

Advanced element selection using selectors including: [foo^="bar"], [foo$="bar"], [foo*="bar"], :root, :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(), :last-child, :first-of-type, :last-of-type, :only-child, :only-of-type, :empty, :target, :enabled, :disabled, :checked, :not(), ~ (general sibling)

Chrome

  1. 4 - 121: Supported
  2. 122: Supported
  3. 123 - 125: Supported

Edge

  1. 12 - 120: Supported
  2. 121: Supported

Safari

  1. 3.1: Not supported
  2. 3.2 - 17.2: Supported
  3. 17.3: Supported
  4. 17.4 - TP: Supported

Firefox

  1. 2 - 3: Not supported
  2. 3.5 - 122: Supported
  3. 123: Supported
  4. 124 - 126: Supported

Opera

  1. 9: Not supported
  2. 9.5 - 105: Supported
  3. 106: Supported

IE

  1. 5.5: Not supported
  2. 6: Not supported (but has polyfill available)
  3. 7 - 8: Partial support
  4. 9 - 10: Supported
  5. 11: Supported

Chrome for Android

  1. 121: Supported

Safari on iOS

  1. 3.2 - 17.2: Supported
  2. 17.3: Supported
  3. 17.4: Supported

Samsung Internet

  1. 4 - 22: Supported
  2. 23: Supported

Opera Mini

  1. all: Supported

Opera Mobile

  1. 10 - 12.1: Supported
  2. 73: Supported

UC Browser for Android

  1. 15.5: Supported

Android Browser

  1. 2.1 - 4.4.4: Supported
  2. 121: Supported

Firefox for Android

  1. 122: Supported

QQ Browser

  1. 13.1: Supported

Baidu Browser

  1. 13.18: Supported

KaiOS Browser

  1. 2.5: Supported
  2. 3: Supported
Resources:
Selectivizr: Polyfill for IE6-8
Automated CSS3 selector test
WebPlatform Docs
Detailed support information
Sub-features:
CSS first-line pseudo-element