.i-i-box-active{
    -webkit-animation: shan666 1s infinite ease-in-out;
    animation: shan666 1s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes shan666 {
    0% {
        opacity: 0.5;
        filter: alpha(opacity=20);
        /*-webkit-transform: scale(0.8);*///缩小
    }
    50% {
        opacity: 1;
        filter: alpha(opacity=50);
        /*-webkit-transform: scale(1.12);*///放大
        background-color: red;
        color: #fff;
    }
    100% {
        opacity: 0.5;
        filter: alpha(opacity=20);
        /*-webkit-transform: scale(0.8);*///缩小
    }
}

@keyframes shan666 {
    0% {
        opacity: 0.5;
        filter: alpha(opacity=20);
        /*-webkit-transform: scale(0.8);*///缩小
    }
    50% {
        opacity: 1;
        filter: alpha(opacity=50);
        /*-webkit-transform: scale(1.12);*///放大
        background-color: red;
        color: #fff;
    }
    100% {
        opacity: 0.5;
        filter: alpha(opacity=20);
        /*-webkit-transform: scale(0.8);*///缩小
    }
}

 

相关文章:

  • 2022-01-01
  • 2021-05-29
  • 2021-11-28
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-09
猜你喜欢
  • 2021-09-30
  • 2021-12-06
  • 2021-06-13
  • 2021-08-14
  • 2021-06-13
  • 2022-12-23
相关资源
相似解决方案