CSS Transition
--------------
CSS Animation
-------------
http://www.bootstrapmb.com/item/4308/preview
http://www.jq22.com/jquery-info16175
4.注解
transform 动画动作
transition 动画时长,二者需要组合,让transform有个过渡
5.动画案例集
案例持续补充中...
6.呼吸效果
.breath{
animation: living 3s linear infinite;
}
/* 呼吸 */
@keyframes living {
0%{
transform: scale(1);
opacity: 1;
}
50%{
transform: scale(1.3);
opacity: 0.8;
}
100%{
transform: scale(1);
opacity: 1;
}
}
7.旋转动画
.cirle{
-webkit-transition-property: -webkit-transform;
-webkit-transition-duration: 1s;
-moz-transition-property: -moz-transform;
-moz-transition-duration: 1s;
-webkit-animation: rotate 3s linear infinite;
-moz-animation: rotate 3s linear infinite;
-o-animation: rotate 3s linear infinite;
animation: rotate 3s linear infinite;
}
@keyframes rotate {
from{
transform:rotateZ(0deg);
}
to{
transform:rotateZ(360deg);
}
}
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。