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
  2. 11

Edge

  1. 12 - 18
  2. 79 - 81
  3. 83

Firefox

  1. 2 - 36
  2. 37 - 61
  3. 62 - 77
  4. 78
  5. 79 - 80

Chrome

  1. 4 - 57
  2. 58 - 64
  3. 65 - 81
  4. 83
  5. 84 - 86

Safari

  1. 3.1 - 11
  2. 11.1 - 12.1
  3. 13
  4. 13.1
  5. 14 - TP

Opera

  1. 9 - 51
  2. 52 - 68
  3. 69

iOS Safari

  1. 3.2 - 11.2
  2. 11.3 - 13.3
  3. 13.4
  4. 14.0

Opera Mini

  1. all

Android Browser

  1. 2.1 - 4.4.4
  2. 81

Blackberry Browser

  1. 7
  2. 10

Opera Mobile

  1. 10 - 12.1
  2. 46

Chrome for Android

  1. 81

Firefox for Android

  1. 68

IE Mobile

  1. 10
  2. 11

UC Browser for Android

  1. 12.12

Samsung Internet

  1. 4 - 8.2
  2. 9.2 - 11.2
  3. 12.0

QQ Browser

  1. 10.4

Baidu Browser

  1. 7.12

KaiOS Browser

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