CSS 动画过程及间接实现样式延时

/* 过度动画自动归位 */
@keyframes animation_button_scene {
    0% {
        background: #9cacb4;
    }

    10% {
        /* 样式过度2 */
    }

    60% {
        /* 样式过度3 */
    }

    ... ... ...
    ... ... ...

    99% {
        background: #9cacb4;
    }

    100% {}
}


/* 调用动画 animation_button_scene */
.button_scene:hover {
    animation: animation_button_scene 2s;
}

猜你喜欢

转载自www.cnblogs.com/qinlongqiang/p/12035142.html