Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"

Line 23: Line 23:
 
   text-align: center;
 
   text-align: center;
 
   line-height: 80px;
 
   line-height: 80px;
   font-size: 2.5em;
+
   font-size: 2.2em;
 
}
 
}
 
nav ul {
 
nav ul {
Line 36: Line 36:
 
   left: 240px;
 
   left: 240px;
 
   top: 0px;
 
   top: 0px;
 +
 +
  opacity: 0;
 +
  width: 0px;
 +
  height: 0px;
 +
}
 +
nav > ul > li:hover > ul {
 +
  transition: opacity 0.5s, height 0.3s, width 0.1s;
 +
  opacity: 0.8;
 +
  height: 100px;
 +
  width: 200px;
 
}
 
}
 
</style>
 
</style>

Revision as of 10:49, 7 August 2015

咯咯哒