-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
当鼠标悬浮到头像上时,头像旋转360度 Changes to be committed: modified: docs/3扩展主题的个性化设置.md modified: themes/yilia/_config.yml modified: themes/yilia/layout/_partial/head.ejs new file: themes/yilia/source/avatarrotation.css
- Loading branch information
1 parent
43a05e9
commit 9ce8e58
Showing
4 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.left-col #header .profilepic img { | ||
/* 控制旋转速度时间*/ | ||
-webkit-transition: -webkit-transform 1.0s ease-out; | ||
-moz-transition: -moz-transform 1.0s ease-out; | ||
transition: transform 1.0s ease-out; | ||
} | ||
.left-col #header .profilepic img:hover { | ||
/* 鼠标经过360% */ | ||
-webkit-transform: rotateZ(360deg); | ||
-moz-transform: rotateZ(360deg); | ||
transform: rotateZ(360deg); | ||
} |