Answers for "how to add hover element in css"

CSS
0

hove over html element

$( "td" ).hover(
  function() {
    $( this ).addClass( "hover" );
  }, function() {
    $( this ).removeClass( "hover" );
  }
);
Posted by: Guest on September-28-2021
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

Code answers related to "how to add hover element in css"

Browse Popular Code Answers by Language