我正在使用一個小例子來演示CSS動畫。儘管顏色正在改變,但旋轉不被執行。請幫助解決它!CSS3動畫出現問題
<html>
<head>
<style>
p{width:100px;height:100px;background:red;animation-name:peter;animation-duration:5s}
@keyframes peter{
\t from{background:orange;}
\t to{background:yellow;transform:rotate(180deg;)}
}</style>
</head>
<body>
<p>This is a paragraph.</p>
</body>
</html>
沒有人可以這麼簡單的問題回答正確! ;( – Deadpool
其中noob低估了我,可能是鴕鳥來的...... – Deadpool