Last active
January 2, 2016 18:58
-
-
Save NatalieMac/8346882 to your computer and use it in GitHub Desktop.
CSS to animate the transition
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
span.text-content { | |
background: rgba(0,0,0,0.5); | |
color: white; | |
cursor: pointer; | |
display: table; | |
height: 150px; | |
left: 0; | |
position: absolute; | |
top: 0; | |
width: 150px; | |
opacity: 0; | |
-webkit-transition: opacity 500ms; | |
-moz-transition: opacity 500ms; | |
-o-transition: opacity 500ms; | |
transition: opacity 500ms; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment