Skip to content

Browser support: focus pseudo classes

posted on

I don’t know who needs to hear this, but that’s the current browser support for :focus-visible and :focus-within, and I love it!

:focus-visible browser support

caniuse screenshot: All major browsers except IE 11 and Safari support the focus-visible pseudo class

:focus-within browser support

caniuse screenshot: All major browsers except IE 11 support the focus-within pseudo class