Last active
August 19, 2024 09:34
-
-
Save hand-dot/c61c4a5d60e84e41f8392274ed072d56 to your computer and use it in GitHub Desktop.
Wix Custom 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
| .card { | |
| perspective: 1000px; | |
| cursor: pointer; | |
| } | |
| .card-inner { | |
| position: relative; | |
| transition: transform 0.6s; | |
| transform-style: preserve-3d; | |
| } | |
| .card-front, .card-back { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| backface-visibility: hidden; | |
| } | |
| .card-front { | |
| z-index: 1; | |
| background-color: #3498db; | |
| } | |
| .card-back { | |
| z-index: 2; | |
| background-color: #2ecc71 !important; | |
| transform: rotateY(180deg); | |
| } | |
| .card:hover .card-inner { | |
| transform: rotateY(180deg); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment