Skip to content

Instantly share code, notes, and snippets.

@brightrain
Last active August 29, 2015 13:58
Show Gist options
  • Save brightrain/9982368 to your computer and use it in GitHub Desktop.
Save brightrain/9982368 to your computer and use it in GitHub Desktop.
togglable layers
.togglable-layer {
margin-top: 0.8em;
width: 100%;
}
.togglable-layer:hover {
background-color: #ccc;
cursor: pointer;
}
.togglable-layer.visible {
background-color: white;
border: 1px solid black;
opacity: 0.98;
}
.togglable-layer.visible:hover {
background-color: #ccc;
}
.floater
{
background-color: white;
opacity: 0.75;
-moz-border-radius: 8px;
border-radius: 8px;
padding: 0.5em;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment