Web platform features explorer

display: contents

The display: contents CSS declaration sets an element to display only its contents, not itself.

Status

Limited availability

MDN documentation

Browser support (view on caniuse.com)

Developer signals

Votes: 0

If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.