loading...

re: The :focus-within CSS pseudo-class VIEW POST

FULL DISCUSSION
 

Be cautious about the browser support for this: caniuse.com/#feat=css-focus-within

If you need to support browsers like IE11 or Edge Legacy you can use this polyfill:

github.com/matteobad/focus-within-...

 

Ah, thanks very much Sebastián. I add it to the article.

Code of Conduct Report abuse