day09

A今天学了什么

1.animation 动画

@keyframes  定义动画
a.
@keyframes myfirst{
from{background:red;}
to{background:yellow;}
}
b.
@keyframes myfirst{
0%{background:red;}
25%{background:yellow;}
50%{background:blue;}
100%{background:green;}
}

2.使用动画animation

div {animation:myfirst 2s;}
div {animation:myfirst 2s infinite;}
infinite  无限循环

B我掌握好的地方

1.animation 动画

@keyframes  定义动画
a.
@keyframes myfirst{
from{background:red;}
to{background:yellow;}
}
b.
@keyframes myfirst{
0%{background:red;}
25%{background:yellow;}
50%{background:blue;}
100%{background:green;}
}

2.使用动画animation

div {animation:myfirst 2s;}
div {animation:myfirst 2s infinite;}
infinite  无限循环

C我掌握不好的地方

全部掌握了。
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 173,349评论 25 708
  • 《裕语言》速成开发手册3.0 官方用户交流:iApp开发交流(1) 239547050iApp开发交流(2) 10...
    叶染柒丶阅读 27,829评论 5 19
  • 本篇主要讲解求浸入水中的物体的体积及相关计算。 浸入水中的物体的体积=变化的水的体积,水的变化又分三种情况:上升、...
    若叶阅读 736评论 0 0
  • 【鹊曾作业本】2017.4.5 累计37 今天思考扰民的空性 我家房子邻路边,正好这片区域是住宅区,今天吃晚饭时,...
    鹊曾阅读 161评论 0 0