Created
March 7, 2013 03:24
-
-
Save JesseHerrick/5105369 to your computer and use it in GitHub Desktop.
A simple pure CSS fadein for anything: text, images, logos, etc.
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
.fadein { | |
opacity: 0.5; | |
transition: opacity .25s ease-in-out; | |
-moz-transition: opacity .25s ease-in-out; | |
-webkit-transition: opacity .25s ease-in-out; | |
} | |
.fadein:hover { | |
opacity: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment