CSS display: contents

- WD

display: contents causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques.

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Edge

  1. 12 - 18: Not supported
  2. 79 - 85: Partial support
  3. 86: Partial support

Firefox

  1. 2 - 36: Not supported
  2. 37 - 61: Partial support
  3. 62 - 80: Supported
  4. 81: Supported
  5. 82 - 83: Supported

Chrome

  1. 4 - 57: Not supported
  2. 58 - 64: Disabled by default
  3. 65 - 85: Partial support
  4. 86: Partial support
  5. 87 - 89: Partial support

Safari

  1. 3.1 - 11: Not supported
  2. 11.1 - 12.1: Partial support
  3. 13: Partial support
  4. 13.1: Supported
  5. 14: Supported
  6. TP: Supported

Opera

  1. 9 - 51: Not supported
  2. 52 - 70: Partial support
  3. 71: Partial support

iOS Safari

  1. 3.2 - 11.2: Not supported
  2. 11.3 - 13.3: Partial support
  3. 13.4: Supported
  4. 14: Supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 81: Partial support

Blackberry Browser

  1. 7: Not supported
  2. 10: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 59: Partial support

Chrome for Android

  1. 85: Partial support

Firefox for Android

  1. 79: Supported

IE Mobile

  1. 10: Not supported
  2. 11: Not supported

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 8.2: Not supported
  2. 9.2 - 11.2: Partial support
  3. 12.0: Partial support

QQ Browser

  1. 10.4: Partial support

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

  1. 2.5: Partial support
Resources:
Chrome support bug
WebKit support bug
Vanishing boxes with display contents
Edge UserVoice support request