CSS3旋转

.spin{
    -webkit-animation: fadespin 1.5s infinite linear;
    animation: fadespin 1.5s infinite linear;
}
@keyframes fadespin{
    0% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    100% {
        -webkit-transform: rotateY(359deg);
        transform: rotateY(359deg);
    }
}

 

posted @ 2018-01-08 15:57  钟文锋  阅读(126)  评论(0编辑  收藏  举报