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

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