diff options
author | Joris Guyonvarch | 2015-03-12 23:42:51 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-03-12 23:42:51 +0100 |
commit | a016d06b41f3d2784952838cd47f3c621ff475bf (patch) | |
tree | 4f669663dc1fda1c2531120b60bc09553eb7876a | |
parent | d810c37b68693e66a7e2ee3c9377c1906b5a2ae8 (diff) |
Adding an opacity transition for the sub-menu to appear
-rw-r--r-- | menu.css | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; } |