WordPress主题头像动态特效

WordPress主题头像动态特效

/*
头像
*/
.bg-cover {
    border: #ececec 1px solid;
}

/*头像旋转*/
.avatar{
-webkit-transition:0.4s;
-webkit-transition:-webkit-transform 0.4s ease-out;
transition:transform 0.4s ease-out;
-moz-transition:-moz-transform 0.4s ease-out;
}
.avatar:hover{
transform:rotateZ(360deg);
-webkit-transform:rotateZ(360deg);
-moz-transform:rotateZ(360deg);
}
分享到 :

Leave a Reply

登录 后才能评论