Skip to content

Instantly share code, notes, and snippets.

@RafaPegorari
Created November 10, 2015 11:06
Show Gist options
  • Save RafaPegorari/c5da779dab17271af33b to your computer and use it in GitHub Desktop.
Save RafaPegorari/c5da779dab17271af33b to your computer and use it in GitHub Desktop.
has-error.css
.has-error {
position: relative;
}
.has-error label.has-error {
position: absolute;
top: 0 !important;
background-color: #FFB8B8;
right: 0 !important;
left: auto !important;
bottom: auto !important;
width: auto !important;
text-transform: none;
font-size: 12px;
color: #F14C4C;
font-weight: bold;
padding: 3px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment