Menu
×
×
正确
<style>
div {
width: 100px;
height: 100px;
background-color: red;
animation-name: @(7);
@(18): 2s;
}
@keyframes example {
from {@(16): red;}
to {@(16): blue;}
}
</style>
<body>
<div>This is a div</div>
</body>
<style>
div {
width: 100px;
height: 100px;
background-color: red;
animation-name: example;
animation-duration: 2s;
}
@keyframes example {
from {background-color: red;}
to {background-color: blue;}
}
</style>
<body>
<div>This is a div</div>
</body>
<style>
div {
width: 100px;
height: 100px;
background-color: red;
animation-name: example;
animation-duration: 2s;
}
@keyframes example {
from {background: red;}
to {background: blue;}
}
</style>
<body>
<div>This is a div</div>
</body>
不正确
点击 此处 重试 正确
下一题 ❯<style> div { width: 100px; height: 100px; background-color: red; animation-name:w3exercise_input_no_0;w3exercise_input_no_1: 2s; } @keyframes example { from {w3exercise_input_no_2: red;} to {w3exercise_input_no_3: blue;} } </style> <body> <div>This is a div</div> </body> |