Difference between revisions of "Team:TP-CC San Diego/Templates/NavBar"

Line 86: Line 86:
 
.dropdown:hover .dropbtn {
 
.dropdown:hover .dropbtn {
 
     background-color: #333333;
 
     background-color: #333333;
}
 
 
div.animation a:before
 
{
 
    position: absolute;
 
    top: 0px;
 
    left: 0px;
 
    width: 2px;
 
    height: 4px;
 
    background: #FFF;
 
    content: "";
 
    opacity: 1;
 
    transition: all 0.3s;
 
}
 
 
div.animation a:after
 
{
 
    position: absolute;
 
    top: 0px;
 
    left: 0px;
 
    width: 100%;
 
    height: 2px;
 
    background: #FFF;
 
    content: "";
 
    opacity: 1;
 
    transition: all 0.3s;
 
}
 
 
div.animation a:hover:before
 
{
 
    height: 100%;
 
}
 
 
div.animation a:hover:after
 
{
 
    opacity: 0;
 
    top: 100%;
 
 
}
 
}
  

Revision as of 07:36, 23 October 2017