mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Make .bg-variant adjust :focus color in addition to :hover color
This commit is contained in:
parent
5833d079a0
commit
85837639ee
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
|||
|
||||
.bg-variant(@color) {
|
||||
background-color: @color;
|
||||
a&:hover {
|
||||
a&:hover,
|
||||
a&:focus {
|
||||
background-color: darken(@color, 10%);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue