0

Why pink box is moving after hovering? I didn't specified movement on this box.

https://code.sololearn.com/Wfgl84z3tIhH/?ref=app

19th Nov 2019, 3:10 PM
Ilinka Panovska
2 odpowiedzi
+ 1
because of : div:hover { width: 250px; } if you add a specific class to the top div it will not affect all divs with classes.
19th Nov 2019, 6:38 PM
Bahhaⵣ
Bahhaⵣ - avatar
+ 1
Thank you
19th Nov 2019, 6:40 PM
Ilinka Panovska