aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/layout
diff options
context:
space:
mode:
authorSharrell Porter <[email protected]>2017-10-20 07:12:39 -0400
committerSharrell Porter <[email protected]>2017-10-20 07:12:39 -0400
commit4f814fabd6aa198df72e8263350fa60213d13176 (patch)
tree8fbcc6b66212a39be6bb8b1a6811a4f3eb2e901a /docs/4.0/layout
parent77ea66da4dc054b33392d32be152eb1082d305e2 (diff)
parent9a1d81f154f4391f9fea47fc26cd2fa864d6ae8a (diff)
downloadbootstrap-4f814fabd6aa198df72e8263350fa60213d13176.tar.xz
bootstrap-4f814fabd6aa198df72e8263350fa60213d13176.zip
sync-commits erge branch 'v4-dev' into custom-checkboxes-radios-correct-color
Diffstat (limited to 'docs/4.0/layout')
-rw-r--r--docs/4.0/layout/overview.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/4.0/layout/overview.md b/docs/4.0/layout/overview.md
index c86a432d3..4952da5b7 100644
--- a/docs/4.0/layout/overview.md
+++ b/docs/4.0/layout/overview.md
@@ -163,8 +163,8 @@ We don't encourage customization of these values; should you change one, you lik
```scss
$zindex-dropdown: 1000 !default;
+$zindex-sticky: 1020 !default;
$zindex-fixed: 1030 !default;
-$zindex-sticky: 1030 !default;
$zindex-modal-backdrop: 1040 !default;
$zindex-modal: 1050 !default;
$zindex-popover: 1060 !default;
@@ -172,3 +172,5 @@ $zindex-tooltip: 1070 !default;
```
Background elements—like the backdrops that allow click-dismissing—tend to reside on a lower `z-index`s, while navigation and popovers utilize higher `z-index`s to ensure they overlay surrounding content.
+
+Additionally, the `button-group`, `input-group`, `list-group`, and `pagination` components make use of setting `z-index` to `1` or `2` in order to ensure that the borders of the _active_ element correctly appear "above" their sibling elements.