User:SvenB/DropTest

From 2014.igem.org

(Difference between revisions)
Line 21: Line 21:
     margin: 0;
     margin: 0;
-
text-align: center;
+
    text-align: center;
     box-shadow: 2px 2px 2px #dfdfdf;
     box-shadow: 2px 2px 2px #dfdfdf;
     -moz-box-shadow: 2px 2px 2px #dfdfdf;
     -moz-box-shadow: 2px 2px 2px #dfdfdf;
Line 38: Line 38:
nav ul,nav ul li{
nav ul,nav ul li{
-
     background-color: #FAFAFA;
+
     background-color: white;
}
}
nav ul li {
nav ul li {
Line 56: Line 56:
     text-decoration: none;
     text-decoration: none;
     display: block;
     display: block;
-
     color: white;
+
     color: white !important;
     padding: 14px 34px 14px 34px;
     padding: 14px 34px 14px 34px;
Line 100: Line 100:
}
}
nav ul li ul li a {
nav ul li ul li a {
-
     color: black;
+
     color: black !important;
}
}
nav ul li ul li a:hover{
nav ul li ul li a:hover{
-
color: black;
+
color: black !important;
-
background-color: white!important;
+
background-color: white !important;
}
}

Revision as of 20:06, 5 October 2014

CSS3 Dropdown Menu von designyourweb.info