【发布时间】:2020-06-15 11:28:19
【问题描述】:
在电子邮件代码中,a:visited 和 a:hover CSS 样式无法在 Outlook 或 Gmail 电子邮件客户端中呈现/正常工作。我添加了如下 CSS 代码。
/* unvisited link */
a:link {
color: #526175;
}
/* visited link */
a:visited {
color: #D4B038 !important;
}
/* mouse over link */
a:hover {
color: #D4B038 !important;
}
/* selected link */
a:active {
color: #D4B038 !important;
}
.menutxt a:visited {
color: #D4B038 !important;
}
.menutxt a:hover {
color: #D4B038 !important;
}
【问题讨论】:
标签: javascript html css gmail html-email