Skip to content

Instantly share code, notes, and snippets.

@andyError
Created November 16, 2017 16:29
Show Gist options
  • Save andyError/6fede68b01b2a8ccd7928e71eac7a58b to your computer and use it in GitHub Desktop.
Save andyError/6fede68b01b2a8ccd7928e71eac7a58b to your computer and use it in GitHub Desktop.
CSS Fade and then hide
div > ul {
. . .
visibility:hidden;
opacity:0;
transition:visibility 0s linear 0.5s,opacity 0.5s linear;
}
div:hover > ul {
visibility:visible;
opacity:1;
transition-delay:0s;
}
@andyError
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment