- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 Jun 2016 13:38:51 +0000
- To: public-css-archive@w3.org
While I agree that this is a valid use case, this can already be achieved using the `:first-of-type` pseudo-class. So, picking up the example (using a valid heading selector), you may want to use this: ``` h2:first-of-type { margin-top: 2em; } ``` Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/253#issuecomment-229358175 using your GitHub account
Received on Wednesday, 29 June 2016 13:39:01 UTC