Last active
June 24, 2019 13:06
-
-
Save smlparry/b0c1c0f06861bb8f68903aca3e4bccaa 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
.element { | |
// ... | |
transform: translateZ(0px); | |
animation: animateZ 2s infinite; | |
} | |
@keyframes animateZ { | |
from { | |
transform: translateZ(0px); | |
} | |
to { | |
transform: translateZ(4px); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment