{"id":1387,"date":"2018-06-14T16:49:55","date_gmt":"2018-06-14T20:49:55","guid":{"rendered":"http:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/?page_id=1387"},"modified":"2018-06-14T17:09:32","modified_gmt":"2018-06-14T21:09:32","slug":"content-width-sm","status":"publish","type":"page","link":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/grid\/bootstrap-grid-classes\/content-width-sm\/","title":{"rendered":"Content width &#8211; $sm"},"content":{"rendered":"<h3>Show backgrounds:<\/h3>\n<p><label><input id=\"row\" name=\"row\" type=\"checkbox\" checked=\"checked\" onchange=\"showBoundaries('.row')\"> Show background on the row class (Transparent red)<\/label><label><input id=\"col\" name=\"col\" type=\"checkbox\" checked=\"checked\" onchange=\"showBoundaries('.row&gt;div')\"> Show background on the column classes (Transparent blue)<\/label><label><input id=\"content\" name=\"content\" type=\"checkbox\" checked=\"checked\" onchange=\"showBoundaries('.grid-example-content-wrap')\"> Show background to show where space for content is available (White)<\/label><\/p>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-1\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>1<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-11\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>11<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-2\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>2<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-10\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>10<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-3\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>3<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-9\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>9<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-4\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>4<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-8\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>8<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-5\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>5<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-7\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>7<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-6\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>6<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-6\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>6<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-7\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>7<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-5\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>5<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-8\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>8<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-4\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>4<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-9\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>9<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-3\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>3<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-10\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>10<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-2\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>2<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-11\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>11<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<div class=\"grid-example-show-boundaries col-sm-1\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>1<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-12\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>12<\/sup>&frasl;<sub>12<\/div>\n<p><\/sub><\/div>\n<\/div>\n<p>grid-example-show-boundaries <\/p>\n<h3>One column<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-1\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>1<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-11\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>11<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-1&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-11&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Two columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-2\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>2<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-10\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>10<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-2&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-10&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Three columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-3\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>3<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-9\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>9<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-3&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-9&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Four columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-4\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>4<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-8\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>8<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-4&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-8&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Five columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-5\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>5<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-7\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>7<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-5&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-7&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Six columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-6\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>6<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-6\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>6<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-6&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-6&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Seven columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-7\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>7<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-5\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>5<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-7&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-5&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Eight columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-8\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>8<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-4\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>4<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-8&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-4&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Nine columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-9\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>9<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-3\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>3<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-9&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-3&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Ten columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-10\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>10<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-2\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>2<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-10&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-2&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Eleven columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-11\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>11<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<div class=\"grid-example-show-boundaries col-sm-1\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>1<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-11&quot;&gt;Your HTML here&lt;\/div&gt;\r\n\t&lt;div class=&quot;col-sm-1&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<h3>Twelve columns<\/h3>\n<h4>Example<\/h4>\n<div class=\"row grid-example grid-example-show-boundaries\">\n<div class=\"grid-example-show-boundaries col-sm-12\">\n<div class=\"grid-example-content-wrap grid-example-show-boundaries\"><sup>12<\/sup>&frasl;<sub>12<\/sub><\/div>\n<\/div>\n<\/div>\n<h4>Code snippet<\/h4>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;row&quot;&gt;\r\n\t&lt;div class=&quot;col-sm-12&quot;&gt;Your HTML here&lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p><script type=\"text\/javascript\">\r\n\tjQuery('input').prop('checked', true);\r\n\r\n\tfunction showBoundaries(className) {\r\n\t\tjQuery(className).toggleClass('grid-example-show-boundaries');\r\n\t}\r\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Show backgrounds: Show background on the row class (Transparent red) Show background on the column classes (Transparent blue) Show background to show where space for content is available (White) 1&frasl;12 11&frasl;12 2&frasl;12 10&frasl;12 3&frasl;12 9&frasl;12 4&frasl;12 8&frasl;12 5&frasl;12 7&frasl;12 6&frasl;12 6&frasl;12 7&frasl;12 5&frasl;12 8&frasl;12 4&frasl;12 9&frasl;12 3&frasl;12 10&frasl;12 2&frasl;12 11&frasl;12 1&frasl;12 12&frasl;12 grid-example-show-boundaries One column [&hellip;]<\/p>\n","protected":false},"author":3357,"featured_media":0,"parent":1414,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/pages\/1387"}],"collection":[{"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/users\/3357"}],"replies":[{"embeddable":true,"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/comments?post=1387"}],"version-history":[{"count":1,"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/pages\/1387\/revisions"}],"predecessor-version":[{"id":1388,"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/pages\/1387\/revisions\/1388"}],"up":[{"embeddable":true,"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/pages\/1414"}],"wp:attachment":[{"href":"https:\/\/id-responsi.cms-devl.bu.edu\/kitchensink\/wp-json\/wp\/v2\/media?parent=1387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}