Select and Hover Specific anchor tag - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover

Description

Select and Hover Specific anchor tag

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
.fa {<!--from  w  ww .j  a  v  a2 s  .  c o m-->
   font-size:31px;
   transform:rotate(26deg);
   transition:all 0.6s ease;
}

.fa:hover {
   transform:rotate(0deg);
   transition:all 0.4s ease;
   color:Chartreuse;
}

.fa.fa-free-code-camp:hover {
   transform:rotate(0deg);
   transition:all 0.4s ease;
   color:yellow;
}
</style> 
 </head> 
 <body> 
  <div role="navigation"> 
   <nav class="nav nav-inline  "> 
    <a class="nav-link" href="#"> <i class="fa  fa-linkedin-square large-class " aria-hidden="true">L</i> </a> 
    <a class="nav-link" href="#"> <i class="fa fa-github large-class" aria-hidden="true">L</i> </a> 
    <a class="nav-link " href="#"> <i class="fa fa-link large-class" aria-hidden="true">L</i> </a> 
    <a class="nav-link " href="#"> <i class="fa fa-free-code-camp large-class" aria-hidden="true">L</i> </a> 
   </nav> 
  </div>  
 </body>
</html>

Related Tutorials