已采纳回答 / 慕码人0004322
changeColor就是你上面定义的动画名字,1s就是完成这个动画需要1s的时间,ease-out就是完成动画时候的方式,ease-out好像是逐渐变慢吧,.2就是延迟0.2s执行,这是一种简写格式
2018-03-13
总结下,CSS3中的三种动画:tranform形变动画/transition缓动动画/animation逐帧动画;
tranform: rotate旋转/skew扭曲/scale缩放/translate移动/matrix矩阵变形;
transition: property duration timing-function delay;
animation: KeyframesName duration timing-function delay iteration-count direction play-state fill-mode;
tranform: rotate旋转/skew扭曲/scale缩放/translate移动/matrix矩阵变形;
transition: property duration timing-function delay;
animation: KeyframesName duration timing-function delay iteration-count direction play-state fill-mode;
2018-03-13
div:not([id="footer"]){
background:orange;
}
background:orange;
}
2018-03-11