Created
December 22, 2016 08:33
-
-
Save kejun/538a9834b620e206000c3df3a18d311d 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
body { background: #333;} | |
a { | |
display: inline-block; | |
} | |
a img{ | |
position: relative; | |
z-index: -1; | |
} | |
a img:last-child { display: none;} | |
a:active img:first-child { display: none;} | |
a:active img:last-child { display: inline-block;} |
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
<a href="http://douban.com"> <img src="http://www.jammyfm.com/wordpress/wp-content/themes/pinboard/images/white-logo-3.png"> <img src="http://www.jammyfm.com/wordpress/wp-content/themes/pinboard/images/white-logo-2.png"></a> |
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":"80","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment