Answers for "css div hover style a"

CSS
0

style hover

<style>
a.special:link {
    color: green;
}

a.special:visited {
    color: red;
}
</style>

<p><a href="#">This is a standard link, it will become purple when clicked</a></p>
<p><a class="special" href="#">This is a special colored link and become red when clicked</a></p>
Posted by: Guest on July-19-2021
-1

how to hover div in css

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

.casual-div:hover {
  background-color: red;
}
Posted by: Guest on October-29-2021

Browse Popular Code Answers by Language