【发布时间】:2016-11-11 14:15:57
【问题描述】:
这个问题是针对http://chameleonwebsolutions.com。我需要它,以便当您将鼠标悬停在社交媒体链接上时,它们的颜色会变为深绿色 (#72984a)。我试过了:
.site-header .fa a:hover {
color: #72984a !important;
}
.fa .fa-facebook-square a:hover {
color:#72984a !important;
}
.social-icons a:hover {
color:#72984a !important;
}
.logo .mobile-social-icons .hidden-tablet a:hover {
color:#72984a !important;
}
.social-icons .hidden-mobile .responsive-header-gutter a:hover {
color: #72984a !important;
}
在样式表中,但它们都没有出现在检查器中。我会在样式表中只尝试 a:hover (在它之前没有类),但当然这将适用于所有超链接。当您将鼠标悬停在社交媒体链接上时,如何仅对其进行样式设置?谢谢!
【问题讨论】:
标签: html css wordpress hyperlink hover