Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/guides/bs5migration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,3 +451,24 @@ The `.rounded-sm` and `.rounded-lg` classes have been replaced with `.rounded-1`
```

</ValidExample>

### Font utility classes

The `.font-weight-*` class has been replaced with `.fw-*` for brevity and consistency.
The `.font-italic` class has been replaced with `.fst-italic` for brevity and consistency.

<InvalidExample title="Don't">

```html
<span class="font-weight-bold font-italic">I'm a bold italic text</span>
```

</InvalidExample>

<ValidExample title="Do">

```html
<span class="fw-bold fst-italic">I'm a bold italic text</span>
```

</ValidExample>
Loading