Skip to content

Instantly share code, notes, and snippets.

@bbstilson
Created September 14, 2017 03:54
Show Gist options
  • Save bbstilson/37e3a75108f8554342d60e6fec35a887 to your computer and use it in GitHub Desktop.
Save bbstilson/37e3a75108f8554342d60e6fec35a887 to your computer and use it in GitHub Desktop.
.fancydom-in { opacity: 0 !important; animation: fadeIn 0.5s linear forwards; }
.fancydom-out { opacity: 1; animation: fadeOut 0.25s linear forwards; }
@keyframes fadeIn { 0% { opacity: 0; visibility: visible; }
0.1% { opacity: 0; }
100% { opacity: 1; } }
@keyframes fadeOut { 0% { opacity: 1; }
99.9% { opacity: 0; }
100% { opacity: 0; visibility: hidden; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment