mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
Use combo of .row and .reverse to reverse direction
This commit is contained in:
parent
09f9cb2f5e
commit
1dcdcd016f
758
dist/chota.css
vendored
758
dist/chota.css
vendored
File diff suppressed because one or more lines are too long
@ -168,8 +168,8 @@
|
||||
|
||||
<hr>
|
||||
<h5>Reverse Direction</h5>
|
||||
<p>Add <code>.row-reverse</code> to the <code>.row</code> to reverse the column direction. </p>
|
||||
<div class="row row-reverse">
|
||||
<p>Add <code>.reverse</code> to the <code>.row</code> to reverse the column direction. </p>
|
||||
<div class="row reverse">
|
||||
<div class="col-6">
|
||||
<div class="card is-center">.col-6</div>
|
||||
</div>
|
||||
@ -181,7 +181,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% highlight html %}
|
||||
<div class="row row-reverse">
|
||||
<div class="row reverse">
|
||||
<div class="col-6">
|
||||
<div class="card is-center">.col-6</div>
|
||||
</div>
|
||||
|
@ -13,7 +13,7 @@
|
||||
margin-right: calc(var(--grid-gutter) / -2);
|
||||
}
|
||||
|
||||
.row-reverse {
|
||||
.row.reverse {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user