Skip to content

Instantly share code, notes, and snippets.

@Splurov
Created June 6, 2013 15:58
Show Gist options
  • Select an option

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

Select an option

Save Splurov/5722646 to your computer and use it in GitHub Desktop.
Untitled
div {width: 170px; font-size: 18px;}
label {display: inline-block; padding-left: 20px; text-indent: -20px;}
input {
display: inline-block;
line-height: 500px;
margin: 0 7px 0 0;
width: 13px;
padding: 0;
border: 0;
height: auto;
font-size: 100px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;
box-sizing: border-box;
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