css - Safari 浏览器的字体系列更改

标签 css safari

font-family 对于除 safari 之外的所有浏览器都是相同的

CSS 用于在整个应用程序主体中应用font-family

body {
   height: 100%;
   font-size: .80em;
   font-family : "PT Sans","Century Gothic",Verdana, Helvetica, sans-serif;
   margin: 0px;
   padding: 0px;
   color: Black;
}

最佳答案

对于 windows 谷歌字体 PT Sans 不支持 safari 浏览器。 See here in the git hub

关于css - Safari 浏览器的字体系列更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39716094/

相关文章:

html - 如何在 Bootstrap 3 中垂直对齐长标签

javascript - D3 : change font size of axis labels

wordpress 上的 CSS 在使用 Chrome 或 Safari 时不正常

javascript - jQuery timeago 插件在 Safari 中不起作用

javascript - Safari 扩展注入(inject)脚本/网页交互

javascript - 旋转放置在圆圈上的图像列表 <li> 点击任何 child 到给定位置

css - 将 div 移动到新行

html - 在不影响页面样式的情况下,在页面中嵌入带有 css 的 html 字符串

javascript - 在 iOS Safari 中禁用选择上下文菜单

iOS Safari 自动保存下载的图像