2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Convert added in badges to shortcode (#36007)

This commit is contained in:
Mark Otto
2022-03-11 21:27:58 -08:00
committed by GitHub
parent 1936e0c5ea
commit 7c966f5848
15 changed files with 21 additions and 16 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ Hover over the links below to see tooltips:
### Custom tooltips
<small class="d-inline-flex px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 rounded-2">Added in v5.2.0</small>
{{< added-in "5.2.0" >}}
You can customize the appearance of tooltips using [CSS variables](#variables). We set a custom class with `data-bs-custom-class="custom-tooltip"` to scope our custom appearance and use it to override a local CSS variable.
@@ -125,7 +125,7 @@ With an SVG:
### Variables
<small class="d-inline-flex px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 rounded-2">Added in v5.2.0</small>
{{< added-in "5.2.0" >}}
As part of Bootstraps evolving CSS variables approach, tooltips now use local CSS variables on `.tooltip` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too.