Angular 4 Animation
npm install @angular/animations@latest --save import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; @NgModule({ // Other arrays removed imports: [ BrowserModule, FormsModule, HttpModule, BrowserAnimationsModule ], }) import { trigger,state,style,transition,animate,keyframes } from '@angular/animations'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], animations:[ trigger('listAnimationy', [ transition('void => *', [ query('li', style({opacity:0, transform: 'translateY(-50px)'})), query('li', stagger('150ms', [ animate('500ms 1.2s ease-out', style({ opacity: 1, transform: 'translateY(0px)' })) ...