Menu
×
×
正确
<style>
div {
width: 100px;
height: 100px;
background: red;
transition: @(13), @(12);
}
div:hover {
background: blue;
transform: rotate(180deg);
}
</style>
<body>
<div>This is a div</div>
</body>
<style>
div {
width: 100px;
height: 100px;
background: red;
transition: background 2s, transform 2s;
}
div:hover {
background: blue;
transform: rotate(180deg);
}
</style>
<body>
<div>This is a div</div>
</body>
<style>
div {
width: 100px;
height: 100px;
background: red;
transition: transform 2s, background 2s;
}
div:hover {
background: blue;
transform: rotate(180deg);
}
</style>
<body>
<div>This is a div</div>
</body>
不正确
点击 此处 重试 正确
下一题 ❯<style> div { width: 100px; height: 100px; background: red; transition:w3exercise_input_no_0,w3exercise_input_no_1; } div:hover { background: blue; transform: rotate(180deg); } </style> <body> <div>This is a div</div> </body> |