Skip to content

Instantly share code, notes, and snippets.

@johnathan-sewell
Created January 19, 2011 15:02
Show Gist options
  • Save johnathan-sewell/786271 to your computer and use it in GitHub Desktop.
Save johnathan-sewell/786271 to your computer and use it in GitHub Desktop.
CSS to add an asterisk to required field
form label:after{
content: ':';
}
.form-template label:after{
content: ': *';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment