Skip to content

Instantly share code, notes, and snippets.

@daveyjones
Last active October 3, 2016 06:53
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 daveyjones/110b24fef188e1297fd0f0252e527413 to your computer and use it in GitHub Desktop.
Save daveyjones/110b24fef188e1297fd0f0252e527413 to your computer and use it in GitHub Desktop.
Modal fade in and out using LESS
@easing: cubic-bezier(0.19, 1, 0.22, 1);
.modal {
opacity: 0;
transition: opacity 500ms @easing, visibility 0s linear 500ms;
&.visible {
visibility: visible;
opacity: 1;
transition: opacity 500ms @easing;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment