mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Update docs and carousel example for order-.
This commit is contained in:
@@ -349,18 +349,19 @@ Change the _visual_ order of specific flex items with a handful of `order` utili
|
||||
|
||||
{% example html %}
|
||||
<div class="d-flex flex-nowrap bd-highlight">
|
||||
<div class="order-last p-2 bd-highlight">First flex item</div>
|
||||
<div class="p-2 bd-highlight">Second flex item</div>
|
||||
<div class="order-first p-2 bd-highlight">Third flex item</div>
|
||||
<div class="order-3 p-2 bd-highlight">First flex item</div>
|
||||
<div class="order-2 p-2 bd-highlight">Second flex item</div>
|
||||
<div class="order-1 p-2 bd-highlight">Third flex item</div>
|
||||
</div>
|
||||
{% endexample %}
|
||||
|
||||
Responsive variations also exist for `order`.
|
||||
|
||||
{% for bp in site.data.breakpoints %}
|
||||
- `.order{{ bp.abbr }}-first`
|
||||
- `.order{{ bp.abbr }}-last`
|
||||
- `.order{{ bp.abbr }}-0`{% endfor %}
|
||||
{% for i in (1..12) %}
|
||||
- `.order{{ bp.abbr }}-{{ i }}`
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
## Align content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user