m |
|||
Line 46: | Line 46: | ||
background-color: #ddd; | background-color: #ddd; | ||
color: black; | color: black; | ||
+ | |||
} | } | ||
.dropdown { | .dropdown { | ||
Line 61: | Line 62: | ||
font-family: inherit; | font-family: inherit; | ||
margin: 0; | margin: 0; | ||
+ | /*for transitions when hovering*/ | ||
+ | -o-transition: color .2s ease-out, background 1s ease-in; | ||
+ | -ms-transition: color .2s ease-out, background 1s ease-in; | ||
+ | -moz-transition: color .2s ease-out, background 1s ease-in; | ||
+ | -webkit-transition: color .2s ease-out, background 1s ease-in; | ||
} | } | ||
.dropdown-content { | .dropdown-content { |
Revision as of 06:51, 10 August 2018