aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-12 23:42:51 +0100
committerJoris Guyonvarch2015-03-12 23:42:51 +0100
commita016d06b41f3d2784952838cd47f3c621ff475bf (patch)
tree4f669663dc1fda1c2531120b60bc09553eb7876a
parentd810c37b68693e66a7e2ee3c9377c1906b5a2ae8 (diff)
downloadmakeup-a016d06b41f3d2784952838cd47f3c621ff475bf.tar.gz
makeup-a016d06b41f3d2784952838cd47f3c621ff475bf.tar.bz2
makeup-a016d06b41f3d2784952838cd47f3c621ff475bf.zip
Adding an opacity transition for the sub-menu to appear
-rw-r--r--menu.css6
1 files changed, 4 insertions, 2 deletions
diff --git a/menu.css b/menu.css
index 972629d..62fd30b 100644
--- a/menu.css
+++ b/menu.css
@@ -52,11 +52,13 @@ nav > ul > li:hover > a {
}
nav ul ul a {
- background-color: #EEEEEE;
+ transition: opacity 0.2s ease;
visibility: hidden;
opacity: 0;
height: 0px;
- line-height: 21px;
+ line-height: 0px;
+
+ background-color: #EEEEEE;
padding: 0 20px;
color: black;
}