mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Selector improvement (#27219)
This commit is contained in:
parent
a689120fd2
commit
7a01f3c41b
@ -14,7 +14,7 @@
|
||||
vertical-align: baseline;
|
||||
@include border-radius($badge-border-radius);
|
||||
|
||||
&[href] {
|
||||
@at-root a#{&} {
|
||||
@include hover-focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
color: color-yiq($bg);
|
||||
background-color: $bg;
|
||||
|
||||
&[href] {
|
||||
@at-root a#{&} {
|
||||
@include hover-focus {
|
||||
color: color-yiq($bg);
|
||||
background-color: darken($bg, 10%);
|
||||
|
Loading…
x
Reference in New Issue
Block a user