Skip to content

Instantly share code, notes, and snippets.

@anthonybruno
Created November 28, 2012 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonybruno/4161982 to your computer and use it in GitHub Desktop.
Save anthonybruno/4161982 to your computer and use it in GitHub Desktop.
Fade in/out CSS3
.base {
opacity: 0;
visibility: hidden;
@include transition(visibility 0s linear 200ms, opacity 200ms linear);
}
.base.active {
opacity: 1;
visibility: visible;
@include transition-delay(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment