Skip to content

Instantly share code, notes, and snippets.

@thuan1412
Created March 28, 2020 16:17
Show Gist options
  • Save thuan1412/3f594588e56646c8d137b0d4ec1edcf9 to your computer and use it in GitHub Desktop.
Save thuan1412/3f594588e56646c8d137b0d4ec1edcf9 to your computer and use it in GitHub Desktop.
.card-container {
display: flex;
flex-direction: column;
background-color: #95dada;
border: 1px solid grey;
border-radius: 5px;
padding: 25px;
cursor: pointer;
backface-visibility: hidden;
transform: translateZ(0);
transition: transform 0.25s ease-out;
}
.card-container:hover {
transform: rotateZ(350deg) scale(1.05);
/* transform: scale(1.05); */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment