我正在尝试使用CSS的font-face属性和自定义字体:
@font-face {
font-family: "Handvetica";
src: url("Handvetica.eot");
src: url("Handvetica.ttf") format("truetype"),
url("Handvetica.otf") format("opentype"),
url("Handvetica.woff") format("woff"),
url("Handvetica.svg#Handvetica") format("svg");
}
Run Code Online (Sandbox Code Playgroud)
它适用于ff,safari和chrome.
Web上的多个站点声明要在iOs设备(iPod/iPhone/iPad)上使用font-face,需要svg字体.字体是使用https://onlinefontconverter.com转换的,我有所有的格式.
svg字体不会显示在iOs上.有谁知道如何使它工作?另外,svg url声明中#的正确语法是什么?它代表什么?
谢谢.