Skip to content

Instantly share code, notes, and snippets.

@Splurov
Forked from anonymous/dabblet.css
Created June 6, 2013 16:36
Show Gist options
  • Select an option

  • Save Splurov/5722920 to your computer and use it in GitHub Desktop.

Select an option

Save Splurov/5722920 to your computer and use it in GitHub Desktop.
Untitled
div {width: 170px; font-size: 14px;}
label {display: inline-block; padding-left: 20px; text-indent: -20px; vertical-align: middle;}
input {
margin: 0 7px 0 0;
width: 13px;
padding: 0;
border: 0;
height: auto;
font-size: inherit;
vertical-align: middle;
position: relative;
top: -1px;
}
<div>
<div><label><input type=checkbox>Long text hereLong text hereLong text here</label></div>
<div><label><input type=checkbox>text here</label></div>
<div><label><input type=checkbox>text here</label></div>
<div><label><input type=checkbox>text here</label></div>
<div><label><input type=checkbox>text here</label></div>
<div><label><input type=radio>text here</label></div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment