diff options
| author | Mark Otto <[email protected]> | 2016-05-08 14:16:23 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-05-08 14:16:23 -0700 |
| commit | 7322c8dc750718e1f2aba3c69b9a9523912db8d3 (patch) | |
| tree | 12bd20b4d0dfaa93828bf1c373d08815a0fa720e /docs | |
| parent | 44778465da5f6a13a8438d20e22c1ef6d823f8a1 (diff) | |
| download | bootstrap-7322c8dc750718e1f2aba3c69b9a9523912db8d3.tar.xz bootstrap-7322c8dc750718e1f2aba3c69b9a9523912db8d3.zip | |
add code snippet
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/content/tables.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/content/tables.md b/docs/content/tables.md index 0ab0b538d..fc6a6b19b 100644 --- a/docs/content/tables.md +++ b/docs/content/tables.md @@ -511,6 +511,24 @@ Regular table background variants are not available with the inverse table, howe </table> </div> +{% highlight html %} +<!-- On rows --> +<tr class="bg-primary">...</tr> +<tr class="bg-success">...</tr> +<tr class="bg-warning">...</tr> +<tr class="bg-danger">...</tr> +<tr class="bg-info">...</tr> + +<!-- On cells (`td` or `th`) --> +<tr> + <td class="bg-primary">...</td> + <td class="bg-success">...</td> + <td class="bg-warning">...</td> + <td class="bg-danger">...</td> + <td class="bg-info">...</td> +</tr> +{% endhighlight %} + {% capture callout-include %}{% include callout-warning-color-assistive-technologies.md %}{% endcapture %} {{ callout-include | markdownify }} |
