{"id":317,"date":"2015-03-25T22:43:34","date_gmt":"2015-03-25T22:43:34","guid":{"rendered":"http:\/\/razonartificial.com\/themes\/reason-wp\/?page_id=317"},"modified":"2015-03-25T22:43:34","modified_gmt":"2015-03-25T22:43:34","slug":"tables","status":"publish","type":"page","link":"https:\/\/test.innovative8.uk.com\/wp3\/tables\/","title":{"rendered":"Tables"},"content":{"rendered":"<section class=\"css-section\">\n<h1 id=\"tables\" class=\"section-title no-margin-top\">Tables<\/h1>\n<h2 class=\"section-title\" id=\"tables-example\">Basic example<\/h2>\n<p>For basic styling&mdash;light padding and only horizontal dividers&mdash;add the base class <code>.table<\/code> to any <code>&lt;table&gt;<\/code>. It may seem super redundant, but given the widespread use of tables for other plugins like calendars and date pickers, we&#8217;ve opted to isolate our custom table styles.<\/p>\n<div class=\"bs-example\">\n<table class=\"table\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Larry<\/td>\n<td>the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/example --><\/p>\n<p>                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse1\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse1\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;table class=&quot;table&quot;&gt;<\/p>\n<p>&lt;\/table&gt;<br \/>\n                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><\/p>\n<h2 class=\"section-title\" id=\"tables-striped\">Striped rows<\/h2>\n<p>Use <code>.table-striped<\/code> to add zebra-striping to any table row within the <code>&lt;tbody&gt;<\/code>.<\/p>\n<div class=\"bs-callout bs-callout-danger\">\n<h4>Cross-browser compatibility<\/h4>\n<p>Striped tables are styled via the <code>:nth-child<\/code> CSS selector, which is not available in Internet Explorer 8.<\/p>\n<\/p><\/div>\n<div class=\"bs-example\">\n<table class=\"table table-striped\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Larry<\/td>\n<td>the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/example --><br \/>\n                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse2\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse2\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;table class=&quot;table table-striped&quot;&gt;<\/p>\n<p>&lt;\/table&gt;<br \/>\n                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><\/p>\n<h2 class=\"section-title\" id=\"tables-striped\">Striped rows with primary color<\/h2>\n<p>Use <code>.table-striped .table-striped-primary<\/code> to add zebra-striping to any table row within the <code>&lt;tbody&gt;<\/code>.<\/p>\n<div class=\"bs-callout bs-callout-danger\">\n<h4>Cross-browser compatibility<\/h4>\n<p>Striped tables are styled via the <code>:nth-child<\/code> CSS selector, which is not available in Internet Explorer 8.<\/p>\n<\/p><\/div>\n<div class=\"bs-example\">\n<table class=\"table table-striped table-striped-primary\">\n<thead>\n<tr>\n<td>#<\/td>\n<td>First Name<\/td>\n<td>Last Name<\/td>\n<td>Username<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Larry<\/td>\n<td>the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Sheldon<\/td>\n<td>the Nerd<\/td>\n<td>@stringtheory<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/example --><br \/>\n                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse3\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse3\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;table class=&quot;table table-striped table-striped-primary&quot;&gt;<\/p>\n<p>&lt;\/table&gt;<br \/>\n                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><\/p>\n<h2 class=\"section-title\" id=\"tables-bordered\">Bordered table<\/h2>\n<p>Add <code>.table-bordered<\/code> for borders on all sides of the table and cells.<\/p>\n<div class=\"bs-example\">\n<table class=\"table table-bordered\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td rowspan=\"2\">1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@TwBootstrap<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td colspan=\"2\">Larry the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/example --><br \/>\n                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse4\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse4\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;table class=&quot;table table-bordered&quot;&gt;<\/p>\n<p>&lt;\/table&gt;<br \/>\n                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><\/p>\n<h2 class=\"section-title\" id=\"tables-hover-rows\">Hover rows<\/h2>\n<p>Add <code>.table-hover<\/code> to enable a hover state on table rows within a <code>&lt;tbody&gt;<\/code>.<\/p>\n<div class=\"bs-example\">\n<table class=\"table table-hover\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td colspan=\"2\">Larry the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/example --><br \/>\n                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse5\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse5\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;table class=&quot;table table-hover&quot;&gt;<\/p>\n<p>&lt;\/table&gt;<br \/>\n                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><\/p>\n<h2 class=\"section-title\" id=\"tables-condensed\">Condensed table<\/h2>\n<p>Add <code>.table-condensed<\/code> to make tables more compact by cutting cell padding in half.<\/p>\n<div class=\"bs-example\">\n<table class=\"table table-condensed\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>First Name<\/th>\n<th>Last Name<\/th>\n<th>Username<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Mark<\/td>\n<td>Otto<\/td>\n<td>@mdo<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Jacob<\/td>\n<td>Thornton<\/td>\n<td>@fat<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td colspan=\"2\">Larry the Bird<\/td>\n<td>@twitter<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/example --><br \/>\n                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse6\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse6\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;table class=&quot;table table-condensed&quot;&gt;<\/p>\n<p>&lt;\/table&gt;<br \/>\n                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><\/p>\n<h2 class=\"section-title\" id=\"tables-contextual-classes\">Contextual classes<\/h2>\n<p>Use contextual classes to color table rows or individual cells.<\/p>\n<div class=\"table-responsive\">\n<table class=\"table table-bordered table-striped\">\n<colgroup>\n<col class=\"col-xs-1\">\n<col class=\"col-xs-7\">\n                      <\/colgroup>\n<thead>\n<tr>\n<th>Class<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n                            <code>.active<\/code>\n                          <\/td>\n<td>Applies the hover color to a particular row or cell<\/td>\n<\/tr>\n<tr>\n<td>\n                            <code>.success<\/code>\n                          <\/td>\n<td>Indicates a successful or positive action<\/td>\n<\/tr>\n<tr>\n<td>\n                            <code>.info<\/code>\n                          <\/td>\n<td>Indicates a neutral informative change or action<\/td>\n<\/tr>\n<tr>\n<td>\n                            <code>.warning<\/code>\n                          <\/td>\n<td>Indicates a warning that might need attention<\/td>\n<\/tr>\n<tr>\n<td>\n                            <code>.danger<\/code>\n                          <\/td>\n<td>Indicates a dangerous or potentially negative action<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<div class=\"bs-example\">\n<table class=\"table\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>Column heading<\/th>\n<th>Column heading<\/th>\n<th>Column heading<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr class=\"active\">\n<td>1<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr class=\"success\">\n<td>3<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr class=\"info\">\n<td>5<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr class=\"warning\">\n<td>7<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<tr class=\"danger\">\n<td>9<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<td>Column content<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/example --><br \/>\n                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse7\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse7\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;!&#8211; On rows &#8211;&gt;<br \/>\n&amp;lt;tr class=&quot;active&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt;<br \/>\n&amp;lt;tr class=&quot;success&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt;<br \/>\n&amp;lt;tr class=&quot;warning&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt;<br \/>\n&amp;lt;tr class=&quot;danger&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt;<br \/>\n&amp;lt;tr class=&quot;info&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt;<\/p>\n<p>&amp;lt;!&#8211; On cells (&quot;td&quot; or &quot;th&quot;) &#8211;&amp;gt;<br \/>\n&amp;lt;tr&amp;gt;<br \/>\n&amp;lt;td class=&quot;active&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt;<br \/>\n&amp;lt;td class=&quot;success&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt;<br \/>\n&amp;lt;td class=&quot;warning&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt;<br \/>\n&amp;lt;td class=&quot;danger&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt;<br \/>\n&amp;lt;td class=&quot;info&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt;<br \/>\n&amp;lt;\/tr&amp;gt;<\/p>\n<p>                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><\/p>\n<h2 class=\"section-title\" id=\"tables-responsive\">Responsive tables<\/h2>\n<p>Create responsive tables by wrapping any <code>.table<\/code> in <code>.table-responsive<\/code> to make them scroll horizontally up to small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.<\/p>\n<div class=\"bs-example\">\n<div class=\"table-responsive\">\n<table class=\"table\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/.table-responsive --><\/p>\n<div class=\"table-responsive\">\n<table class=\"table table-bordered\">\n<thead>\n<tr>\n<th>#<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<th>Table heading<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<td>Table cell<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p><!-- \/.table-responsive -->\n                  <\/div>\n<p><!-- \/example --><br \/>\n                <!-- Panel Code --><\/p>\n<div class=\"panel panel-default\">\n<div class=\"panel-heading panel-heading-link\">\n                        <a data-toggle=\"collapse\" data-parent=\"#accordion\" href=\"#collapse8\" class=\"collapsed\"><i class=\"fa fa-terminal\"><\/i> Show Code<\/a>\n                    <\/div>\n<div id=\"collapse8\" class=\"panel-collapse collapse\">\n<div class=\"panel-body panel-body-no-padding\">\n                            [xml]<br \/>\n&lt;div class=&quot;table-responsive&quot;&gt;<br \/>\n&lt;table class=&quot;table&quot;&gt;<\/p>\n<p>&lt;\/table&gt;<br \/>\n&lt;\/div&gt;<\/p>\n<p>                            [\/xml]\n                        <\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p> <!-- panel show code --><br \/>\n            <\/section>\n","protected":false},"excerpt":{"rendered":"<p>Tables Basic example For basic styling&mdash;light padding and only horizontal dividers&mdash;add the base class .table to any &lt;table&gt;. It may seem super redundant, but given the widespread use of tables for other plugins like calendars and date pickers, we&#8217;ve opted to isolate our custom table styles. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter Show Code [xml] &lt;table class=&quot;table&quot;&gt; &lt;\/table&gt; [\/xml] Striped rows Use .table-striped to add zebra-striping to any table row within the &lt;tbody&gt;. Cross-browser compatibility Striped tables are styled via the :nth-child CSS selector, which is not available in Internet Explorer 8. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter Show Code [xml] &lt;table class=&quot;table table-striped&quot;&gt; &lt;\/table&gt; [\/xml] Striped rows with primary color Use .table-striped .table-striped-primary to add zebra-striping to any table row within the &lt;tbody&gt;. Cross-browser compatibility Striped tables are styled via the :nth-child CSS selector, which is not available in Internet Explorer 8. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter 4 Sheldon the Nerd @stringtheory Show Code [xml] &lt;table class=&quot;table table-striped table-striped-primary&quot;&gt; &lt;\/table&gt; [\/xml] Bordered table Add .table-bordered for borders on all sides of the table and cells. # First Name Last Name Username 1 Mark Otto @mdo Mark Otto @TwBootstrap 2 Jacob Thornton @fat 3 Larry the Bird @twitter Show Code [xml] &lt;table class=&quot;table table-bordered&quot;&gt; &lt;\/table&gt; [\/xml] Hover rows Add .table-hover to enable a hover state on table rows within a &lt;tbody&gt;. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter Show Code [xml] &lt;table class=&quot;table table-hover&quot;&gt; &lt;\/table&gt; [\/xml] Condensed table Add .table-condensed to make tables more compact by cutting cell padding in half. # First Name Last Name Username 1 Mark Otto @mdo 2 Jacob Thornton @fat 3 Larry the Bird @twitter Show Code [xml] &lt;table class=&quot;table table-condensed&quot;&gt; &lt;\/table&gt; [\/xml] Contextual classes Use contextual classes to color table rows or individual cells. Class Description .active Applies the hover color to a particular row or cell .success Indicates a successful or positive action .info Indicates a neutral informative change or action .warning Indicates a warning that might need attention .danger Indicates a dangerous or potentially negative action # Column heading Column heading Column heading 1 Column content Column content Column content 2 Column content Column content Column content 3 Column content Column content Column content 4 Column content Column content Column content 5 Column content Column content Column content 6 Column content Column content Column content 7 Column content Column content Column content 8 Column content Column content Column content 9 Column content Column content Column content Show Code [xml] &lt;!&#8211; On rows &#8211;&gt; &amp;lt;tr class=&quot;active&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt; &amp;lt;tr class=&quot;success&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt; &amp;lt;tr class=&quot;warning&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt; &amp;lt;tr class=&quot;danger&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt; &amp;lt;tr class=&quot;info&quot;&amp;gt;&#8230;&amp;lt;\/tr&amp;gt; &amp;lt;!&#8211; On cells (&quot;td&quot; or &quot;th&quot;) &#8211;&amp;gt; &amp;lt;tr&amp;gt; &amp;lt;td class=&quot;active&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt; &amp;lt;td class=&quot;success&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt; &amp;lt;td class=&quot;warning&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt; &amp;lt;td class=&quot;danger&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt; &amp;lt;td class=&quot;info&quot;&amp;gt;&#8230;&amp;lt;\/td&amp;gt; &amp;lt;\/tr&amp;gt; [\/xml] Responsive tables Create responsive tables by wrapping [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"page-left-menu.php","meta":{"footnotes":""},"class_list":["post-317","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/test.innovative8.uk.com\/wp3\/wp-json\/wp\/v2\/pages\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.innovative8.uk.com\/wp3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/test.innovative8.uk.com\/wp3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/test.innovative8.uk.com\/wp3\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.innovative8.uk.com\/wp3\/wp-json\/wp\/v2\/comments?post=317"}],"version-history":[{"count":0,"href":"https:\/\/test.innovative8.uk.com\/wp3\/wp-json\/wp\/v2\/pages\/317\/revisions"}],"wp:attachment":[{"href":"https:\/\/test.innovative8.uk.com\/wp3\/wp-json\/wp\/v2\/media?parent=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}