Created
July 29, 2016 07:05
-
-
Save zhishaofei3/6ec2c35e429a421f5fb2d0f1e2bff8a8 to your computer and use it in GitHub Desktop.
Untitled
This file contains hidden or 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
img { | |
-webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); | |
webkit-clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); | |
transform: rotate(0deg); | |
transition: 1s; | |
} | |
img:hover { | |
transform: rotate(360deg); | |
-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); | |
webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); | |
} |
This file contains hidden or 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
<img src="http://gotoandlearn.net/images/black_logo.png"> |
This file contains hidden or 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
// alert('Hello world!'); |
This file contains hidden or 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
{"view":"split-vertical","fontsize":"130","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment