Skip to content

Instantly share code, notes, and snippets.

@Idered
Created February 14, 2012 17:58
Show Gist options
  • Save Idered/1828616 to your computer and use it in GitHub Desktop.
Save Idered/1828616 to your computer and use it in GitHub Desktop.
.hide-parent {
float: right;
position: absolute;
top: 10px;
right: 10px;
}
.hide-parent:hover {
color: #fff !important;
border: 0 !important;
}
p! > .hide-parent {
background-color: #fff;
border: 1px solid #ccc;
padding: 10px 30px 10px 10px;
position: relative;
}
p! > .hide-parent:hover { background-color: #ff4d4d; color: #fff; }
p! > .hide-parent:active { background-color: #F22; color: #fff; }
p! > .hide-parent:click { display: none; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment