background属性的顺序
- background-color;
- background-image;
- background-repeat;
- background-attachment;
- background-position;
- 其他还有background-size; background-clip; background-origin 单独写出来就行;
font属性的顺序
- font-style;
- font-family;
- font-weight;
- font-size/line-height;
- font-family;
animation
animation: 动画名 持续时间 动画方式 延时 重复次数 是否交替;
animation: move 4s cubic-bezier(0.5,0.9,0.5,0.1) 0s infinite alternate;
动画:name duration 动画方式 delay 次数 是否重复;
初始状态(同animation同级)相当于animation的0%;
cubic-bezier(x1,y1,x2,y2) 相当于定义开始和结束的斜率
动画方式:ease ease-in ease-out ease-in-out linear cubic-bezier(x1,y1,x2,y2);
animation-name\ animation-duration\ animation-timing-function\ animation-delay\ animation-iteration-count\ animation-direction