Skip to content

Instantly share code, notes, and snippets.

@pdokas
Created July 7, 2014 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdokas/c451a8db4d09cfb81aa5 to your computer and use it in GitHub Desktop.
Save pdokas/c451a8db4d09cfb81aa5 to your computer and use it in GitHub Desktop.
Untitled
label::after {
content: attr(title);
}
label {
/* padding-left */
}
label input {
height: 0;
width: 0;
-webkit-appearance: none;
}
label input::before {
content: "";
outline: 1px solid red;
width: 5px;
height: 5px;
display: block;
}
<label for='radio-small-1' title="Join">
<input type="radio" id="radio-small-1" name="radio-small-1">
</label>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"90","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment