0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

add focus to button group active button behavior

This commit is contained in:
Mark Otto 2013-07-29 14:53:55 -07:00
parent d08d9a63c3
commit d9c9afa6d1
3 changed files with 4 additions and 1 deletions

View File

@ -3007,6 +3007,8 @@ button.close {
.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active {
z-index: 2;

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,7 @@
float: left;
// Bring the "active" button to the front
&:hover,
&:focus,
&:active {
z-index: 2;
}