0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-07 04:54:24 +01:00

Use the site param for icons

This commit is contained in:
XhmikosR 2020-06-28 21:05:52 +03:00
parent 965eaca1c7
commit 6cd3159caa
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ When you have multiple toasts, we default to vertically stacking them in a reada
### Custom content ### Custom content
Customize your toasts by removing sub-components, tweaking with [utilities]({{< docsref "/utilities/api" >}}), or adding your own markup. Here we've created a simpler toast by removing the default `.toast-header`, adding a custom hide icon from [Bootstrap Icons](https://icons.getbootstrap.com), and using some [flexbox utilities]({{< docsref "/utilities/flex" >}}) to adjust the layout. Customize your toasts by removing sub-components, tweaking with [utilities]({{< docsref "/utilities/api" >}}), or adding your own markup. Here we've created a simpler toast by removing the default `.toast-header`, adding a custom hide icon from [Bootstrap Icons]({{< param icons >}}), and using some [flexbox utilities]({{< docsref "/utilities/flex" >}}) to adjust the layout.
{{< example class="bg-light" >}} {{< example class="bg-light" >}}
<div class="toast d-flex" role="alert" aria-live="assertive" aria-atomic="true"> <div class="toast d-flex" role="alert" aria-live="assertive" aria-atomic="true">

View File

@ -15,7 +15,7 @@ Bootstrap Icons is a growing library of SVG icons that are designed by [@mdo](ht
Oh, and did we mention they're completely open source? Licensed under MIT, just like Bootstrap, our icon set is available to everyone. Oh, and did we mention they're completely open source? Licensed under MIT, just like Bootstrap, our icon set is available to everyone.
[Learn more about Bootstrap Icons](https://icons.getbootstrap.com/), including how to install them and recommended usage. [Learn more about Bootstrap Icons]({{< param icons >}}), including how to install them and recommended usage.
## Alternatives ## Alternatives