animation-timing-function:step(1, start);
animation-timing-function: step-start;
animation-timing-function: step-start;
2017-09-19
我是新手,很多記不住,艾倫老師能否給我發(fā)一下這個(gè)案例的源碼呢?我拿來親自試試,自己寫不出來,老錯(cuò)誤,我的郵箱715244809@qq.com,謝謝老師!
注意這里還有,差點(diǎn)懵逼
var animationEnd = (function() {
var explorer = navigator.userAgent;
if (~explorer.indexOf('WebKit')) {
return 'webkitAnimationEnd';
}
return 'animationend';
})();
var animationEnd = (function() {
var explorer = navigator.userAgent;
if (~explorer.indexOf('WebKit')) {
return 'webkitAnimationEnd';
}
return 'animationend';
})();
2017-09-07
看到這里,不停的在切換和翻看函數(shù)名和函數(shù)體,就記得Swipe函數(shù)是管點(diǎn)啥的,但具體管啥的都忘了...可咋整,老師的注釋幫了很大的忙啊,自己寫的時(shí)候也千萬不能犯懶啊,要不得被自己寫的代碼折磨死
2017-09-03