Enable hover effect on devices with first-class hover support
On devices such as a phone, the hover effect will not be applied.
This commit is contained in:
parent
3b391131ff
commit
2a1b296a6f
2 changed files with 9 additions and 5 deletions
|
@ -7,9 +7,11 @@
|
||||||
color: $blue1;
|
color: $blue1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (hover: hover) {
|
||||||
&:hover {
|
&:hover {
|
||||||
background: lighten($blue1, 38%);
|
background: lighten($blue1, 38%);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
div:first-child {
|
div:first-child {
|
||||||
.id {
|
.id {
|
||||||
|
|
|
@ -6,11 +6,13 @@
|
||||||
color: $green1;
|
color: $green1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (hover: hover) {
|
||||||
&:hover {
|
&:hover {
|
||||||
background: $green1;
|
background: $green1;
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
footer a {
|
footer a {
|
||||||
&:active, &:link, &:visited {
|
&:active, &:link, &:visited {
|
||||||
|
|
Loading…
Reference in a new issue