Created
August 5, 2017 16:29
-
-
Save cimi/8c9674e587d3f05131e42353ab1282c3 to your computer and use it in GitHub Desktop.
Github corners with octocat transparency (modified from https://github.com/tholman/github-corners)
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
.github-corner:hover .octo-arm { | |
animation: octocat-wave 560ms ease-in-out | |
} | |
@keyframes octocat-wave { | |
0%, 100% { | |
transform: rotate(0) | |
} | |
20%, | |
60% { | |
transform: rotate(-25deg) | |
} | |
40%, | |
80% { | |
transform: rotate(10deg) | |
} | |
} | |
@media (max-width: 500px) { | |
.github-corner:hover .octo-arm { | |
animation: none | |
} | |
.github-corner .octo-arm { | |
animation: octocat-wave 560ms ease-in-out | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment