1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-24 06:03:10 +02:00

Variable card height (#29462)

This commit is contained in:
Martijn Cuppens
2019-10-03 09:21:40 +02:00
committed by XhmikosR
parent 91a9fd96b9
commit f47243460e
3 changed files with 3 additions and 1 deletions

View File

@@ -711,7 +711,7 @@ Change it to `.row-cols-3` and you'll see the fourth card wrap.
{% endcapture %}
{% include example.html content=example %}
When you need equal height, add `.h-100` to the cards.
When you need equal height, add `.h-100` to the cards. If you want equal heights by default, you can set `$card-height: 100%` in Sass.
{% capture example %}
<div class="row row-cols-1 row-cols-md-3">