Created
October 14, 2014 04:53
-
-
Save rlmark/7f7942160073352980bc to your computer and use it in GitHub Desktop.
A Pen by Rebecca.
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
<body> | |
<img src="http://antiworldnews.files.wordpress.com/2012/06/globalforumonoceans_oceanleadership-org_.jpg" alt="Nettuts+ Logo"> | |
</body> | |
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
body { | |
text-align:center; } | |
img { | |
-webkit-transition: all 1s ease; | |
-moz-transition: all 1s ease; | |
-o-transition: all 1s ease; | |
-ms-transition: all 1s ease; | |
transition: all 1s ease; | |
-webkit-filter: grayscale(100%); | |
} | |
img:hover{ | |
-webkit-filter: grayscale(0%) | |
} | |
/*@-webkit-keyframes adjustSat { | |
}*/ | |
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment