Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A Pen by mrmoje.
<input type="checkbox" value="My Checkbox Label or Value" /><br>
<input type="checkbox" value="My Second Checkbox Label or Value" /><br>
<input type="checkbox" value="My Third Checkbox Label or Value" /><br>
[type=checkbox]:after {
content: attr(value);
margin: -3px 15px;
vertical-align: top;
display: inline-block;
white-space:nowrap;
cursor:pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.