mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 00:29:52 +02:00
put all :hover styles within @media (hover: hover)
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
#{$parent} {
|
||||
background-color: $color;
|
||||
}
|
||||
a#{$parent}:hover {
|
||||
background-color: darken($color, 10%);
|
||||
a#{$parent} {
|
||||
@include hover {
|
||||
background-color: darken($color, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user