mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
add code snippet
This commit is contained in:
parent
44778465da
commit
7322c8dc75
@ -511,6 +511,24 @@ Regular table background variants are not available with the inverse table, howe
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</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 %}
|
{% capture callout-include %}{% include callout-warning-color-assistive-technologies.md %}{% endcapture %}
|
||||||
{{ callout-include | markdownify }}
|
{{ callout-include | markdownify }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user