小编Dny*_*dge的帖子

自定义@ font-face不加载chrome(Chrome自定义字体无法渲染)

自定义@font-face不加载chrome(chrome自定义字体无法渲染)使用CSS自定义字体

@font-face {
    font-family:'gotham-rounded-medium';
    src:url('fonts/gothumrounded_medium/gotham-rounded-medium.eot');
    src:url('fonts/gothumrounded_medium/gotham-rounded-medium.eot?#iefix')format("embedded-opentype"),
        url('fonts/gothumrounded_medium/gotham-rounded-medium.woff')format("woff"),
        url('fonts/gothumrounded_medium/gotham-rounded-medium.ttf')format("truetype"),
        url('fonts/gothumrounded_medium/gotham-rounded-medium.svg')format("svg");
    font-weight:400;
    font-style:normal
}

.custom_font{
   font-family:'gotham-rounded-medium', arial, sans-serif;
}
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

仅在调整屏幕窗口大小时才会显示文本.

那么请问有什么可以解决这个问题吗?

html5 fonts google-chrome css3 font-face

5
推荐指数
1
解决办法
3106
查看次数

标签 统计

css3 ×1

font-face ×1

fonts ×1

google-chrome ×1

html5 ×1