Can section:hover {} impact another HTML element?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattkrebs
    New Member
    • Sep 2019
    • 5

    Can section:hover {} impact another HTML element?

    I know when in your CSS you write section:hover {} all of the things inside the curly brackets will apply to the "section"

    Is there a way to impact a different part of your html like for example if I wanted a text to disappear maybe I would write "(text) display:0;"

    If it is possible to have a different element be impacted I would like to know how you get that done.

    Thanks.
    Matt
Working...