backwards效果是让delay时间变为0吗?
3 回答
@-webkit-keyframes redToBlue{ from{ background:red; } to{ background:blue; } } div { width: 200px; height: 200px; background: green; margin: 20px auto; } div:hover{ -webkit-animation-name:redToBlue; -webkit-animation-duration: 5s; -webkit-animation-timing-function: ease; -webkit-animation-delay: 1s; -webkit-animation-fill-mode:backwards; }
举报
0/150
提交
取消