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 accountReceived on Wednesday, 29 June 2016 13:39:01 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:59 UTC