CSS、Safari:悬停不会 100% 改变字体颜色

时间:2021-02-10 22:21:14

标签: css fonts safari hover

将链接悬停在 Safari 上时,颜色不会填充完整的字体。 它在 Chrome 和 Firefox 上运行良好且没有问题。

Screenshot from Safari

html, body {
max-width: 100%;
max-height: 100%;
text-align: left;
margin: 12px;
font-family: "font";
background-color: #ffffff;
color: #000000;
font-size: 48px;
line-height: 54px;
cursor: default;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%
}

#contact {          
color: #000000;
}

#contact a:link {
color: #000000;
text-decoration: none;  
}
    
#contact a:visited {
color: #000000;
text-decoration: none;
}

#contact a:hover {
color: #3478f5;
}

非常感谢您的帮助。

0 个答案:

没有答案
相关问题