mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-02 04:20:24 +00: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…
Reference in a new issue