自定义@ 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;
}
仅在调整屏幕窗口大小时才会显示文本.
那么请问有什么可以解决这个问题吗?