Created
November 2, 2012 20:26
-
-
Save tecnocrata/4004114 to your computer and use it in GitHub Desktop.
Animacion fade basada en CSS
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
| .tile-wrapper { | |
| position : relative; | |
| display : inline-block; | |
| } | |
| .tile-wrapper img { | |
| position : relative; | |
| } | |
| .tile-wrapper .image-options { | |
| position : absolute; | |
| top : 0; | |
| right : 0; | |
| left : 0; | |
| height : 128px; | |
| z-index : 2; | |
| background : grey; | |
| border : 1px solid black; | |
| opacity : 0; | |
| filter : alpha(opacity=0); | |
| -webkit-transition : opacity 0.25s linear; | |
| -moz-transition : opacity 0.25s linear; | |
| -ms-transition : opacity 0.25s linear; | |
| -o-transition : opacity 0.25s linear; | |
| transition : opacity 0.25s linear; | |
| } | |
| .tile-wrapper:hover .image-options { | |
| opacity : 1; | |
| filter : alpha(opacity=100); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment