mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-18 17:01:07 +00:00
add focus to button group active button behavior
This commit is contained in:
parent
d08d9a63c3
commit
d9c9afa6d1
3 changed files with 4 additions and 1 deletions
2
dist/css/bootstrap.css
vendored
2
dist/css/bootstrap.css
vendored
|
|
@ -3007,6 +3007,8 @@ button.close {
|
||||||
|
|
||||||
.btn-group > .btn:hover,
|
.btn-group > .btn:hover,
|
||||||
.btn-group-vertical > .btn:hover,
|
.btn-group-vertical > .btn:hover,
|
||||||
|
.btn-group > .btn:focus,
|
||||||
|
.btn-group-vertical > .btn:focus,
|
||||||
.btn-group > .btn:active,
|
.btn-group > .btn:active,
|
||||||
.btn-group-vertical > .btn:active {
|
.btn-group-vertical > .btn:active {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
|
||||||
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -21,6 +21,7 @@
|
||||||
float: left;
|
float: left;
|
||||||
// Bring the "active" button to the front
|
// Bring the "active" button to the front
|
||||||
&:hover,
|
&:hover,
|
||||||
|
&:focus,
|
||||||
&:active {
|
&:active {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue