@keyframes myfirst { frame {background: red;} to {background: yellow;} }
@keyframes myfirst { 0% {background: red;} 25% {background: yellow;} 50% {background: blue;} 100% {background: green;} }
<div style="animation: myfirst 5s;">asd</div>
@keyframes myfirst { frame {background: red;} to {background: yellow;} }
@keyframes myfirst { 0% {background: red;} 25% {background: yellow;} 50% {background: blue;} 100% {background: green;} }
<div style="animation: myfirst 5s;">asd</div>
评论
发表评论