Skip to content

How to hover div in CSS?

<div class="casual-div"></div>

.casual-div:hover {
  background-color: red;
}
See also  Python code snippet - How to get an input into a list ?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.