well
的类,可以为列创建视觉深度感。巢一个div
与类元素well
内每个的col-xs-6
div
元素。 div
与类元素well
内部的每个的div
与类元素"col-xs-6"
testString: 'assert($("div.col-xs-6").not(":has(>div.well)").length < 1, "Add a div
element with the class well
inside each of your div
elements with the class "col-xs-6"
");'
- text: 巢既您的div
与类元素"col-xs-6"
你中div
与类元素"row"
。
testString: 'assert($("div.row > div.col-xs-6").length > 1, "Nest both of your div
elements with the class "col-xs-6"
within your div
element with the class "row"
.");'
- text: 确保所有div
元素都有结束标记。
testString: 'assert(code.match(/<\/div>/g) && code.match(/