Skip to content

Instantly share code, notes, and snippets.

@ttepasse
Created October 23, 2009 14:38
Show Gist options
  • Save ttepasse/216946 to your computer and use it in GitHub Desktop.
Save ttepasse/216946 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<style>
div.cocoa-check {
display: "a . b" /min-height
". . @" *
min-content 1em *;
}
div.cocoa-check > input[type=checkbox]{
position: a;
}
div.cocoa-check > label {
position: b;
}
</style>
<div class=cocoa-check>
<input id=foo type=checkbox> <label for=foo>Den Foo aktivieren</label>
<p>Info zu Foo
<p>Noch mehr Info
<p>Nun ist aber langsam gut.
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment