Skip to content

Commit

Permalink
[docs] Devdocs Bootstrap cards refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Mar 20, 2024
1 parent 7d88bda commit 737cdcf
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/guides/bs5migration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,41 @@ The following previously deprecated mixins will be dropped in BS5, so they can b
```

</ValidExample>

### Card decks

The `.card-deck` helper class has been replaced with utility classes.

<InvalidExample title="Don't">

```html
<div class="card-deck">
<div class="card">
[...]
</div>
<div class="card">
[...]
</div>
</div>
```

</InvalidExample>

<ValidExample title="Do">

```html
<div class="row row-cols-1 row-cols-sm-2">
<div class="col">
<div class="card">
[...]
</div>
</div>
<div class="col">
<div class="card">
[...]
</div>
</div>
</div>
```

</ValidExample>

0 comments on commit 737cdcf

Please sign in to comment.