Re: [csswg-drafts] [css-pseudo] Add a ::contents pseudo-element

> However, sometimes it is desirable to generate content outside the element. This can be accomplished by adding
> ```
> div { display: contents; }
> div::contents { display: block; /* border, margin, ... */ }
> ```

This is so cool, I love it.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2406#issuecomment-371356144 using your GitHub account

Received on Thursday, 8 March 2018 02:22:09 UTC