css case cubic bezier names

This commit is contained in:
Adam Bradley
2015-05-29 21:32:44 -05:00
parent 5c47982360
commit eeca9d12f4
3 changed files with 32 additions and 39 deletions

View File

@ -6,7 +6,7 @@ class SlideIn extends Animation {
constructor(element) {
super(element);
this
.easing('cubic-bezier(0.1, 0.7, 0.1, 1)')
.easing('cubic-bezier(0.1,0.7,0.1,1)')
.duration(400)
.from('translateY', '100%')
.to('translateY', '0%');
@ -19,7 +19,7 @@ class SlideOut extends Animation {
constructor(element) {
super(element);
this
.easing('easeInOut')
.easing('ease-out')
.duration(250)
.from('translateY', '0%')
.to('translateY', '100%');