mirror of https://github.com/twbs/bootstrap.git
Make .bg-variant adjust :focus color in addition to :hover color
This commit is contained in:
parent
5833d079a0
commit
85837639ee
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
.bg-variant(@color) {
|
||||
background-color: @color;
|
||||
a&:hover {
|
||||
a&:hover,
|
||||
a&:focus {
|
||||
background-color: darken(@color, 10%);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue