Created
May 6, 2013 11:25
-
-
Save Unitecho/5524591 to your computer and use it in GitHub Desktop.
Angular animation
This file contains hidden or 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 characters
- <div ng-directive ng-animate="{enter: 'animate-enter'}"></div> | |
- * .animate-enter-setup { | |
* -webkit-transition: 1s linear all; /* Safari/Chrome */ | |
* -moz-transition: 1s linear all; /* Firefox */ | |
* -ms-transition: 1s linear all; /* IE10 */ | |
* -o-transition: 1s linear all; /* Opera */ | |
* transition: 1s linear all; /* Future Browsers */ | |
* | |
* /* The animation preparation code */ | |
* opacity: 0; | |
* } | |
- .animate-enter-setup.animate-enter-start { | |
* /* The animation code itself */ | |
* opacity: 1; | |
* } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment