col-xs-*
classes are applicable to all form
elements, you can use them on your checkboxes too! This way, the checkboxes will be evenly spread out across the page, regardless of how wide the screen resolution is.
<div class="row">
element. Then nest each of them in a <div class="col-xs-4">
element.
div
with the class row
.
testString: assert($("div.row:has(input[type=\"checkbox\"])").length > 0);
- text: Each of your checkboxes should be nested inside its own div
with the class col-xs-4
.
testString: assert($("div.col-xs-4:has(input[type=\"checkbox\"])").length > 2);
- text: All of your div
elements should have closing tags.
testString: assert(code.match(/<\/div>/g) && code.match(/