mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
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…
x
Reference in New Issue
Block a user