How we built it

display: contents

"display: contents" allows you to control the box generation of an element. The element with "display: contents" won't generate any box, but its children and pseudo-elements will still do it as normal. It's like the element has been replaced by its children and pseudo-elements.

Demo

Specification

Working draft or equivalent

Status in Chromium

In development (launch bug)

Consensus & Standardization

Owner

Last updated on 2016-10-20