用户:-木木夕-/common.css:修订间差异
来自Limbo Wiki Mirror
< 用户:-木木夕-
创建页面,内容为“div { width:200px; height:200px; background:white; animation:myfirst 3s; -moz-animation:myfirst 3s; →Firefox: -webkit-animation:myfirst 3s; →Safari and Chrome: -o-animation:myfirst 3s; →Opera: } @keyframes myfirst { 0% {background:red;} 20%{background:yellow;} 40% {background:blue;} 80%{background:green;} 100%{background:white;} } @-moz-keyframes myfirst →Firefox: { 0% {background:red;} 20%{background:yellow;} 40% {backgroun…” |
小无编辑摘要 |
||
| 第1行: | 第1行: | ||
没写完,我看不懂教程了;) | |||
div | div | ||
{ | { | ||
2022年7月9日 (六) 19:29的版本
没写完,我看不懂教程了;)
div
{
width:200px;
height:200px;
background:white;
animation:myfirst 3s;
-moz-animation:myfirst 3s; /* Firefox */
-webkit-animation:myfirst 3s; /* Safari and Chrome */
-o-animation:myfirst 3s; /* Opera */
}
@keyframes myfirst
{
0% {background:red;}
20%{background:yellow;}
40% {background:blue;}
80%{background:green;}
100%{background:white;}
}
@-moz-keyframes myfirst /* Firefox */
{
0% {background:red;}
20%{background:yellow;}
40% {background:blue;}
80%{background:green;}
100%{background:white;}
}
@-webkit-keyframes myfirst /* Safari and Chrome */
{
0% {background:red;}
20%{background:yellow;}
40% {background:blue;}
80%{background:green;}
100%{background:white;}
}
@-o-keyframes myfirst /* Opera */
{
0% {background:red;}
20%{background:yellow;}
40% {background:blue;}
80%{background:green;}
100%{background:white;}
}
