Created
August 16, 2017 13:28
-
-
Save 0632347878/39cbf839e9244e66f6ab864310e4ffff to your computer and use it in GitHub Desktop.
animate transition text on hover effect
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
/* begin animate transition text in block on hover effect */ | |
.tile-section .sppb-col-md-4 .sppb-addon-single-image:hover > .sppb-addon-title { | |
transition: .4s; | |
transform: translateY(0); | |
opacity: 1; | |
} | |
.tile-section .sppb-col-md-4 .sppb-addon-content { | |
position: relative; | |
z-index: -1; | |
transition: .9s; | |
} | |
.tile-section .sppb-col-md-4 .sppb-addon-title { | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
width: 100%; | |
background: rgba(39, 36, 36, 0.6); | |
transition: .9s; | |
transform: translateY(800px); | |
margin: 0; | |
min-height: 40px; | |
line-height: 40px; | |
} | |
/* end animate transition text on hover effect */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment