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 - 153: Supported
  2. ✅ 154: Supported
  3. ✅ 155 - 157: Supported

Edge

  1. ✅ 12 - 151: Supported
  2. ✅ 152: Supported

Safari

  1. ❌ 3.1: Not supported
  2. ✅ 3.2 - 26.6: Supported
  3. ✅ 27: Supported
  4. ✅ 27.1 - TP: Supported

Firefox

  1. ❌ 2 - 3: Not supported
  2. ✅ 3.5 - 155: Supported
  3. ✅ 156: Supported
  4. ✅ 157 - 159: Supported

Opera

  1. ❌ 9: Not supported
  2. ✅ 9.5 - 134: Supported
  3. ✅ 135: 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. ✅ 152: Supported

Safari on iOS

  1. ✅ 3.2 - 26.6: Supported
  2. ✅ 27.0: Supported
  3. ✅ 27.1 - 27.2: Supported

Samsung Internet

  1. ✅ 4 - 29: Supported
  2. ✅ 30: Supported

Opera Mini

  1. ✅ all: Supported

Opera Mobile

  1. ✅ 10 - 12.1: Supported
  2. ✅ 80: Supported

UC Browser for Android

  1. ✅ 15.5: Supported

Android Browser

  1. ✅ 2.1 - 4.4.4: Supported
  2. ✅ 152: Supported

Firefox for Android

  1. ✅ 156: Supported

QQ Browser

  1. ✅ 14.9: Supported

Baidu Browser

  1. ✅ 13.52: 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