Consider the following plunker
I am trying to make the list of number slide left upon enter and slide left upon leave.
Here is my css
.stuff {
display: inline-block;
margin-left: 10px;
}
button {
display: block;
}
.stuff.ng-enter,
.stuff.ng-leave {
-webkit-transition: all 1s ease-in-out;
}
.stuff.ng-enter {
left: 100%;
}
.stuff.ng-enter-active {
left: 0;
}
.stuff.ng-leave {
left: 0;
}
.stuff.ng-leave-active {
left: -100%;
}
I verified that if I change positioning transition to opacity it works, but for some reason giving the animation left or right doesn't work.
Can someone help me out?
Thanks
