CSS display: contents
- CRdisplay: 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.
Chrome
- ❌ 4 - 57: Not supported
- ❌ 58 - 64: Disabled by default
- ◐ 65 - 88: Partial support
- ◐ 89 - 130: Partial support
- ◐ 131: Partial support
- ◐ 132 - 134: Partial support
Edge
- ❌ 12 - 18: Not supported
- ◐ 79 - 88: Partial support
- ◐ 89 - 130: Partial support
- ◐ 131: Partial support
Safari
- ❌ 3.1 - 11: Not supported
- ◐ 11.1 - 15.6: Partial support
- ◐ 16.0 - 16.6: Partial support
- ◐ 17.0 - 18.0: Partial support
- ◐ 18.1: Partial support
- ◐ 18.2 - TP: Partial support
Firefox
- ❌ 2 - 36: Not supported
- ◐ 37 - 61: Partial support
- ◐ 62 - 131: Partial support
- ◐ 132: Partial support
- ◐ 133 - 135: Partial support
Opera
- ❌ 9 - 51: Not supported
- ◐ 52 - 75: Partial support
- ◐ 76 - 113: Partial support
- ◐ 114: Partial support
IE
- ❌ 5.5 - 10: Not supported
- ❌ 11: Not supported
Chrome for Android
- ◐ 131: Partial support
Safari on iOS
- ❌ 3.2 - 11.2: Not supported
- ◐ 11.3 - 13.3: Partial support
- ◐ 13.4 - 15.8: Partial support
- ◐ 16.0: Partial support
- ◐ 16.1 - 16.7: Partial support
- ✅ 17.0 - 18.0: Supported
- ✅ 18.1: Supported
- ✅ 18.2: Supported
Samsung Internet
- ❌ 4 - 8.2: Not supported
- ◐ 9.2 - 14.0: Partial support
- ◐ 15.0 - 25: Partial support
- ◐ 26: Partial support
Opera Mini
- ❌ all: Not supported
Opera Mobile
- ❌ 10 - 12.1: Not supported
- ◐ 80: Partial support
UC Browser for Android
- ◐ 15.5: Partial support
Android Browser
- ❌ 2.1 - 4.4.4: Not supported
- ◐ 131: Partial support
Firefox for Android
- ◐ 132: Partial support
QQ Browser
- ◐ 14.9: Partial support
Baidu Browser
- ◐ 13.52: Partial support
KaiOS Browser
- ◐ 2.5: Partial support
- ◐ 3: Partial support
- Resources:
- Vanishing boxes with display contents