Difference between revisions of "Team:HFUT-China/subnavcss"

 
Line 1: Line 1:
 
.sub-nav{
 
.sub-nav{
 
position: fixed;
 
position: fixed;
top:44px;
+
top:64px;
 
height:44px;
 
height:44px;
 
width: 100%;
 
width: 100%;

Latest revision as of 16:12, 18 September 2015

.sub-nav{ position: fixed; top:64px; height:44px; width: 100%; background-color: rgba(235,235,235,0.6); border-bottom: 1px solid #ccc; }

.sub-nav ul{ float: right; margin-right: 5%; }

.sub-nav li{ list-style:none; padding: 0; margin: 0; float:left; margin-left: 16px; margin-top: 10px; }

.sub-nav li a{ display: block; text-decoration: none; color: #333; font-size: 1.2em; }

.sub-nav li a:hover{ color:#0080FF; }