0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

layout/overview.md: fix double copy button.

This commit is contained in:
XhmikosR 2017-12-30 15:46:01 +02:00
parent 3ab82e58e6
commit a6996ef38e

View File

@ -166,7 +166,7 @@ These higher values start at an arbitrary number, high and specific enough to id
We don't encourage customization of these individual values; should you change one, you likely need to change them all. We don't encourage customization of these individual values; should you change one, you likely need to change them all.
```scss {% highlight scss %}
$zindex-dropdown: 1000 !default; $zindex-dropdown: 1000 !default;
$zindex-sticky: 1020 !default; $zindex-sticky: 1020 !default;
$zindex-fixed: 1030 !default; $zindex-fixed: 1030 !default;
@ -174,6 +174,6 @@ $zindex-modal-backdrop: 1040 !default;
$zindex-modal: 1050 !default; $zindex-modal: 1050 !default;
$zindex-popover: 1060 !default; $zindex-popover: 1060 !default;
$zindex-tooltip: 1070 !default; $zindex-tooltip: 1070 !default;
``` {% endhighlight %}
To handle overlapping borders within components (e.g., buttons and inputs in input groups), we use low single digit `z-index` values of `1`, `2`, and `3` for default, hover, and active states. On hover/focus/active, we bring a particular element to the forefront with a higher `z-index` value to show their border over the sibling elements. To handle overlapping borders within components (e.g., buttons and inputs in input groups), we use low single digit `z-index` values of `1`, `2`, and `3` for default, hover, and active states. On hover/focus/active, we bring a particular element to the forefront with a higher `z-index` value to show their border over the sibling elements.