animation如何連寫多個(gè)動(dòng)畫呢对竣?其實(shí)很簡(jiǎn)單庇楞。通常我們寫動(dòng)畫都是直接寫合并的:
animation:move 1s linear 1s infinate;
其實(shí)我們只要把這些屬性拆開就可以寫多個(gè)動(dòng)畫了否纬,偽代碼:
animation-name: move,fade;
animation-duration: 1s, 2s;
animation-timing-function: linear,step-end;
animation-delay:0,1s;
animation-iteration-count:1,3;
這樣就可以了吕晌!哈哈哈。临燃。睛驳。