Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
Why pink box is moving after hovering? I didn't specified movement on this box.
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.
+ 1
Thank you