Last active
September 1, 2016 12:11
-
-
Save v1talii-dev/a18daa0bc4ab5475908fb58daba857d9 to your computer and use it in GitHub Desktop.
Css: Transitions on the display: property
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div > ul { | |
visibility: hidden; | |
opacity: 0; | |
transition: visibility 0s, opacity 0.5s linear; | |
} | |
div:hover > ul { | |
visibility: visible; | |
opacity: 1; | |
} | |
/* Copyright: http://stackoverflow.com/questions/3331353/transitions-on-the-display-property#answer-6943704 */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment