+ 5
CSS Hover
What I am missing if I want hover on the <div id=“x”>, both <p> + <h1> will turn blue? https://code.sololearn.com/WWrn4zDWA4TT/?ref=app
2 Réponses
+ 2
//It can be done using giving p and h1 same class and #x:hover .class{}, I also found that it's works if p and h1 get inside that x div
https://code.sololearn.com/WC4Js5N4oTEV/?ref=app
+ 3
Thank You Sudarshan Rai 👑 WhyFry