CSS image stripe hover effect - Javascript jQuery

Javascript examples for jQuery:Image

Description

CSS image stripe hover effect

Demo Code

ResultView the demo in separate window


<html>
   <head> 
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script> 
      <style>

a:hover {//from   w  w w .  java  2s.  co  m
   background-color: gold !important;
}
a {
   background-color: orange;
}

      </style> 
   </head> 
   <body> 
      <a href="">:hover is working now</a> 
      <script>
$('a').css('background-color', 'lightgreen');

      </script>  
   </body>
</html>

Related Tutorials