1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00

Update breadcrumb docs and dividers

- Add CSS custom property with fallback to Sass variable
- Update docs to mention the new CSS custom property
- Rewrite some of the docs to use divider instead of separator, and add some context here and there
This commit is contained in:
Mark Otto
2020-11-29 11:56:08 -08:00
committed by XhmikosR
parent ff130b17dc
commit 3b015ed34e
2 changed files with 38 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
float: left; // Suppress inline spacings and underlining of the separator
padding-right: $breadcrumb-item-padding-x;
color: $breadcrumb-divider-color;
content: escape-svg($breadcrumb-divider);
content: var(--bs-breadcrumb-divider, escape-svg($breadcrumb-divider));
}
}