Created
August 17, 2020 18:48
-
-
Save jagsbyteinception/d662c4e9ed10ff95ad8abbe034dd53a3 to your computer and use it in GitHub Desktop.
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
.flip-card-inner { | |
transition: transform 0.6s; | |
transform-style: preserve-3d; | |
} | |
/* Do an horizontal flip when you move the mouse over the flip box container */ | |
.flip-card:hover .flip-card-inner { | |
transform: rotateY(180deg); | |
} | |
/* Position the front and back side */ | |
.flip-card-front, .flip-card-back { | |
-webkit-backface-visibility: hidden; /* Safari */ | |
backface-visibility: hidden; | |
} | |
/* Style the back side */ | |
.flip-card-back { | |
transform: rotateY(180deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment