|
選單
×
×
正確!
練習為背景新增 2 秒的過渡效果,並改變 <div> 元素。 <style> div { width: 100px; height: 100px; background: red; transition: @(13), @(12); } div:hover { background: blue; transform: rotate(180deg); } </style> <body> <div>這是一個 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>這是一個 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>這是一個 div</div> </body>
不正確點選這裡 重新嘗試。 正確!下一個 ❯ |
這將重置所有 138 個練習的分數。
您確定要繼續嗎?