Skip to content

Instantly share code, notes, and snippets.

@ericclemmons
Created September 8, 2009 20:31
Show Gist options
  • Save ericclemmons/183200 to your computer and use it in GitHub Desktop.
Save ericclemmons/183200 to your computer and use it in GitHub Desktop.
demo.ui.Error.css
.demoUiError {
font-size: 0.9em;
position: relative;
margin: 10px 10px 15px 10px;
width: 293px;
color: white;
font-family: "Helvetica Neue", Helvetica,Arial,sans-sarif;
}
.demoUiError,
.demoUiError .footer {
background: transparent url("images/error-background.png") top left no-repeat scroll;
}
.demoUiError:hover,
.demoUiError.hover {
background-position: top right;
}
.demoUiError:hover .footer,
.demoUiError.hover .footer {
background-position: bottom right;
}
.demoUiError p {
padding: 20px 20px 0 20px;
}
.demoUiError .footer {
position: absolute;
top: 100%;
width: 100%;
height: 25px;
background-position: bottom left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment