Skip to content

Instantly share code, notes, and snippets.

@SamWhited
Created March 6, 2012 02:59
Show Gist options
  • Save SamWhited/1983110 to your computer and use it in GitHub Desktop.
Save SamWhited/1983110 to your computer and use it in GitHub Desktop.
Make an octocat pop-down on mouse over (like https://samwhited.com/projects)
.parent {
overflow: hidden;
}
.popdown {
position: absolute;
top: -60px;
right: 2em;
-webkit-transition: all 0.3s ease-out;
-moz-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.popdown:hover {
top: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment