php - @font-face 第一次没有加载,点击任何链接字体后为什么会改变?
问题描述
这就是我嵌入字体的方式:
@font-face {
font-family: 'fc_lamoonregular';
src: url('../font/fc_lamoon_regular_ver_1.00-webfont.eot');
src: url('../font/fc_lamoon_regular_ver_1.00-webfont.eot?#iefix') format('embedded-opentype'),
url('../font/fc_lamoon_regular_ver_1.00-webfont.woff2') format('woff2'),
url('../font/fc_lamoon_regular_ver_1.00-webfont.woff') format('woff'),
url('../font/fc_lamoon_regular_ver_1.00-webfont.ttf') format('truetype'),
url('../font/fc_lamoon_regular_ver_1.00-webfont.svg#fc_lamoonregular') format('svg');
font-weight: normal;
font-style: normal;
}
我第一次导航到http://www.muangkaen.go.th/index.php时,无论我点击什么链接,字体总是正常的。有人会告诉我为什么并帮助我理解问题吗?
谢谢。
解决方案
推荐阅读
- angular - Angular 7 测试:NullInjectorError:ActivatedRoute 没有提供者
- numpy - 在同一数据数组上应用多个参数函数
- jenkins - 如何在詹金斯管道阶段视图中抑制 shell 命令输出?
- ruby - 如何使用 Ruby 和 RSpec 测试 HTTParty API 调用
- shell - Kill:AIX 7.1 上的无效信号
- excel - 不知道为什么我得到变量未定义错误
- printf - lldb - Xcode 控制台与 macOS 终端上的 printf / nslog
- c# - 设置表格样式。C# - 关闭的 xml
- python - Andrew Ng 在 Keras 中的练习 4。
- ios - UICollectionView 分页视图被切断 - 分页不起作用