Skip to content

Instantly share code, notes, and snippets.

@cimi
Created August 5, 2017 16:29
Show Gist options
  • Save cimi/8c9674e587d3f05131e42353ab1282c3 to your computer and use it in GitHub Desktop.
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)
.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
}
}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment