What does [display: contents;] mean?

It will be used to ignore a grouping element. Only the children within that grouping element will be considered instead.

In effect it’s like none, but only for that one element. None and contents differ only by how their children are affected. None doesn’t display the element as well as none of its children. Contents however just doesn’t display the element, with the children being unaffected.

5 Likes