Created
August 24, 2011 23:37
-
-
Save ajsharma/1169591 to your computer and use it in GitHub Desktop.
pseudo-code to have nice slide in and out of twitter logo for twitter category articles
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
.category-twitter:hover { | |
background-position: -50px -50px; | |
-webkit-transition: all 0.5s ease-out; | |
} | |
.category-twitter { | |
background: url(http://a2.twimg.com/a/1314204713/images/logos/twitter_newbird_boxed_blueonwhite.png); | |
background-repeat: no-repeat; | |
background-position: -300px -50px; | |
-webkit-transition: all 0.5s ease-out; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment