Team:Michigan/Test Css

From 2012.igem.org

(Difference between revisions)
Line 27: Line 27:
#navigation ul li a{  
#navigation ul li a{  
display:block;  
display:block;  
-
padding:8px 12px;  
+
padding:51px 12px;  
margin:0px;  
margin:0px;  
font-size:18px;  
font-size:18px;  
Line 53: Line 53:
}
}
-
#navigation ul ul ul {
+
 
-
position:absolute;
+
-
top:-99999px;
+
-
left:100%;
+
-
opacity: 0;
+
-
-webkit-transition: opacity .5s ease-in-out; /* Hide sub levels */
+
-
-moz-transition: opacity .5s ease-in-out;
+
-
-o-transition: opacity .5s ease-in-out;
+
-
border-radius:0px;
+
-
border:1px solid #fff080;
+
-
}
+
#navigation ul li:hover>ul{ opacity: 1; position:absolute; top:99%; left:0; }
#navigation ul li:hover>ul{ opacity: 1; position:absolute; top:99%; left:0; }
#navigation ul ul li:hover>ul{ position:absolute; top:0; left:100%; opacity: 1; z-index:497; background:#333; }
#navigation ul ul li:hover>ul{ position:absolute; top:0; left:100%; opacity: 1; z-index:497; background:#333; }

Revision as of 00:08, 1 August 2012

Xayona Website Template