Created
December 16, 2014 11:51
Revisions
-
mohamnag created this gist
Dec 16, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ $veryBigWidth: 100rem; $veryBigHeight: 100rem; @mixin transition-hide { transition: opacity 0.5s ease; visibility: hidden; opacity: 0; max-height: 0; max-width: 0; overflow: hidden; } @mixin transition-show { transition: opacity 0.5s ease; visibility: visible; opacity: 1; max-height: $veryBigWidth; max-width: $veryBigHeight; overflow: visible; }