diff options
author | Mark Otto <markd.otto@gmail.com> | 2022-03-22 20:02:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-22 20:02:12 +0300 |
commit | 0eb808015fc84effc69300a0a7e6884eb924abc9 (patch) | |
tree | 652e62c925ef6bb0071a8c94c07db8d51ee66f53 /site/content/docs/5.1/components | |
parent | 9e73b6a13c1cd4cc27d1456319a3d63630e91e2f (diff) |
Convert list group to CSS variables (#35862)
* Convert list-group to CSS vars
* bundlewatch
Diffstat (limited to 'site/content/docs/5.1/components')
-rw-r--r-- | site/content/docs/5.1/components/list-group.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/site/content/docs/5.1/components/list-group.md b/site/content/docs/5.1/components/list-group.md index 7b6574ba86..c566a3138e 100644 --- a/site/content/docs/5.1/components/list-group.md +++ b/site/content/docs/5.1/components/list-group.md @@ -296,10 +296,18 @@ And if you want `<label>`s as the `.list-group-item` for large hit areas, you ca </div> {{< /example >}} -## Sass +## CSS ### Variables +{{< added-in "5.2.0" >}} + +As part of Bootstrap's evolving CSS variables approach, list groups now use local CSS variables on `.list-group` for enhanced real-time customization. Values for the CSS variables are set via Sass, so Sass customization is still supported, too. + +{{< scss-docs name="list-group-css-vars" file="scss/_list-group.scss" >}} + +### Sass variables + {{< scss-docs name="list-group-variables" file="scss/_variables.scss" >}} ### Mixins |