mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Merge branch 'new-home' into v4-dev
This commit is contained in:
@@ -30,6 +30,7 @@ Change the border color using utilities built on our theme colors.
|
||||
{% example html %}
|
||||
{% for color in site.data.theme-colors %}
|
||||
<span class="border border-{{ color.name }}"></span>{% endfor %}
|
||||
<span class="border border-white"></span>
|
||||
{% endexample %}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ Similar to the contextual text color classes, easily set the background of an el
|
||||
{% example html %}
|
||||
{% for color in site.data.theme-colors %}
|
||||
<div class="p-3 mb-2 bg-{{ color.name }} {% if color.name == "light" %}text-gray-dark{% else %}text-white{% endif %}">.bg-{{ color.name }}</div>{% endfor %}
|
||||
<div class="p-3 mb-2 bg-white text-gray-dark">.bg-white</div>
|
||||
{% endexample %}
|
||||
|
||||
{% callout info %}
|
||||
|
||||
Reference in New Issue
Block a user