Line 46: | Line 46: | ||
top:-10px; | top:-10px; | ||
} | } | ||
− | |||
− | |||
− | |||
.ccsticky-nav ul li { | .ccsticky-nav ul li { | ||
display: inline-block; | display: inline-block; | ||
Line 87: | Line 84: | ||
} | } | ||
− | .dropdown-content a { | + | .dropdown-content a { /* 隱藏次選單*/ |
color: white; | color: white; | ||
padding: 12px 16px; | padding: 12px 16px; | ||
text-decoration: none; | text-decoration: none; | ||
− | |||
z-index:-1; | z-index:-1; | ||
display: none; | display: none; | ||
} | } | ||
− | + | .dropdown-content:hover > ul { /* 滑鼠滑入展開次選單*/ | |
+ | display: block; | ||
+ | } | ||
.dropdown-content a:hover { | .dropdown-content a:hover { | ||
background-color: #FF4848; padding: 15px 20px; border-radius: 4px; | background-color: #FF4848; padding: 15px 20px; border-radius: 4px; |
Revision as of 16:45, 19 August 2016
❮
❯