W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [selectors] sibling and ::after selector in one

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Fri, 08 Dec 2017 21:52:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-350381417-1512769944-sysbot+gh@w3.org>
You can try `form:focus-within::after`. But this doesn't provide fine-grained control in case there are multiple focusable elements in the form.

In the static profile there is `form:has(> input:focus:last-child)::after`.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2094#issuecomment-350381417 using your GitHub account
Received on Friday, 8 December 2017 21:52:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC