Animation for carousel with ng-boostrap and Angular 2
I am using the carousel component with ng-bootstrap . I understand there's an open issue for a proper animation feature that works correctly with the angular 2 component life cycle right now ( Github issue ). My question: is there a way to use CSS as a workaround for the animation? I have put up a plunker that has fade in effect for the carousel, but not fade out. .carousel-item.active{ -webkit-animation: fadein 1.4s; -moz-animation: fadein 1.4s; -ms-animation: fadein 1.4s; -o-animation: fadein 1.4s; animation: fadein 1.4s; } @keyframes fadein { from { opacity: 0; } to { opacity: 1; } } /*