stubbornella/oocss — pull request #184 by mbrowne (2014-05-06 02:19:57+00:00)
Title: Support <label><input></label> style for checkboxes and radio buttons

As posted on the OOCSS forum: https://groups.google.com/forum/#!topic/object-oriented-css/m5m_SbCLoCc
The issue I had was with checkboxes and radio buttons...as long as my HTML was like the examples, it was fine, but sometimes I like to wrap my tag around the checkbox or radio button, e.g.:

Check me

And if I want to use the style shown in the docs, I just need to add the hanging-indent class:

Check me

If anyone has any other ideas I think it would be good to discuss them, but in any case I think both styles of HTML should be supported.

I'm happy to update the documentation file as well if this pull request is accepted. Thank you.