Created
February 21, 2019 18:13
-
-
Save alvinwan/fc91ce59c8cb656419be8bab284a5426 to your computer and use it in GitHub Desktop.
The noob's guide to 3D Transforms with CSS - Flipping Card Example, Style 3
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
.face { | |
width:100%; | |
height:100%; | |
color:#FFF; | |
line-height:15em; | |
text-align:center; | |
position:absolute; | |
backface-visibility:hidden; | |
} | |
.front { | |
background-color:#0379ff; | |
} | |
.back { | |
background-color:#333; | |
transform: rotateY(180deg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment