CSS Focus Within

Поділитися
Вставка
  • Опубліковано 22 бер 2021
  • Learn about the CSS Focus Within property to create styles on a parent element from a child elements focused state! While there isn't a 'parent css' selector in CSS, this little trick does the trick under certain circumstances and is very useful for form building!
    Live Scrimba Code: scrimba.com/scrim/co5054442b4...
    💖 SUBSCRIBE (Please) 💖
    ua-cam.com/users/FollowAndrew?s...
    🙏 Become a Patron for support! 🙏
    / followandrew
    📢 Social Media 📢
    TWITTER (@followandrewedu) ➞ / followandrewedu
    #css #webdev #tutorial

КОМЕНТАРІ • 5

  • @FollowAndrew
    @FollowAndrew  3 роки тому +5

    Who knew you could style a parent element from the state of the child?? Sub, like, and all that.

  • @MajharulAsif
    @MajharulAsif Рік тому

    Learn about the CSS Focus

  • @GerritforBazeja
    @GerritforBazeja 3 роки тому

    Now this one is just where I was looking for. Thank you so much. I hope to get it working as aspect on the bazeja.nl menu.

  • @MostafaDev659
    @MostafaDev659 Рік тому

    Thanks bro, your explanation is beautiful

  • @kelindrawn
    @kelindrawn 3 роки тому

    Thanks! Support for the feature seems to be decent as well.