为了账号安全,请及时绑定邮箱和手机立即绑定

为什么

为什么完全看不到效果?!!!

正在回答

1 回答

你没有加前缀-webkit-,提醒:

@-webkit-keyframes changecolor{
  0%{
    background: red;
  }
  20%{
    background:blue;
  }
  40%{
    background:orange;
  }
  60%{
    background:green;
  }
  80%{
    background:yellow;
  }
  100%{
    background: red;
  }
}
div:hover {
  animation: changecolor 5s ease-out .2s;
  -webkit-animation: changecolor 5s ease-out .2s;
  -moz-animation: changecolor 5s ease-out .2s;
}


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
十天精通CSS3
  • 参与学习       242699    人
  • 解答问题       2623    个

本课程为CSS3入门教程,深刻详解CSS3知识让网页穿上绚丽装备

进入课程
意见反馈 帮助中心 APP下载
官方微信