html - 为什么进度 html 元素没有显示在电子邮件(gmail 或 hotmail)上,有什么方法可以显示它,为什么 Nunito google 字体在电子邮件上不起作用?
问题描述
我尝试使用元素并将 Nunito 字体与外部链接一起使用,但不适用于电子邮件
<progress value="10" max="100">10%</progress>
解决方案
对于努尼托:
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Nunito" />
/* This text is in Nunito */
.class {
font-family: Nunito;
}
您可以为您的进度条尝试这个:
<table style="border:0;" cellpadding="0" cellspacing="0" width="250">
<tr>
<td bgcolor="#f83f83" style="width:50%; background-color:#f83f83; float:left; height:15px;"></td>
<td bgcolor="#cccccc" style="width:50%; background-color:#cccccc; float:left; height:15px;"></td>
</tr>
</table>
推荐阅读
- node.js - Nextjs 在生产模式下出现 express 404 问题
- c++ - 找到适合 int 的最大斐波那契数的最快方法是什么?
- laravel - laravel,如何更新 json 列中的数组?
- c# - 用字典键替换字符串(文本框)中的字符
- react-native - 测试失败,我不知道为什么
- jmeter - 在 Jmeter 中发布数据时响应 422 错误
- ios - 快速使用 CGAffine 变换旋转视频
- r - R:提取具有可变列长度的两个单独列中的重复数据
- react-native - 文本未在单行 React Native 中显示
- django - Django:如何从会话创建中排除视图?