Chris Bongers
Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day π
Thanks for making me aware of this. It comes with no surprise to me that IE does not support this. I'll be forever happy when the browser is not used anymore. :D
Good, I learned something new with this... Thanks!
Really nice article on the :focus-within pseudo-class! Really good use of it! π₯³
I would just like to make a few clarifications, if you don't mind.
::before and ::after are pseudo-elements and not pseudo-selectors. And technically :focus-within is referred to as a pseudo-class.
Pseudo-elements should generally be used with double :: to tell them apart from pseudo-classes which should be referred to with a single :. They are all used together in CSS selectors.
I have never used :focus-within. It's really interesting. Thank you, Chris, for writing this post.
Adam
websites; music
I really appreciate your discovery! Thanks for sharing your knowledge :) I will definitely use it :)