Using the ":focus-within" CSS pseudo-class - CSS Tutorial
HTML-код
- Опубликовано: 18 сен 2024
- In today's video I'll be showing you how to use the ":focus-within" CSS pseudo-class.
By using this pseudo-class you're able to select an element which has focus or when one of its descendants has focus. This makes it useful when styling HTML forms or input fields.
Support me on Patreon:
/ dcode - with enough funding I plan to develop a website of some sort with a new developer experience!
For your reference, check this out:
developer.mozi...
Follow me on Twitter @dcodeyt!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
thanks very much, congrts from Brazil.
Will you also make a tutorial on building the 2048 game with JavaScript
thanks for the video new subscirber
Thanks for the helpful video. I'm now a subscriber, too.
Thanks for the sub!
Thanks, subscribed
Cheers!
Thanks, man, useful videos as usual
Can we focus all textfields at same time?
@dcode please make playlist for html,css,javascript etc on which u made videos on u r channel
❤️❤️❤️❤️❤️
As a beginner I found this really helpful and I still want to learn more. Can you help me on how to apply Adding the :focus pseudo-class in a
Select categories
CSS
HTML
after choosing an option to its dropdown and change somehow the border color? not just :focus-within but focus after having a content from the available option? Thanks! +1 SUB ♥
FAST YET GRASPABLE
every time i hear u saying ur name
i hear my name is dumb lol
sorry but i hear