最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

css - Font doesn't match on IOS but looks fine on Android - Stack Overflow

programmeradmin2浏览0评论
`@font-face {
font-family: Podium;
src: url(/memberships/qSaAvd59RpGDBGLYrvoi/post-materials/f2a2d2d7-2924-4273-b8a4-efceb8880763/Fontspring-DEMO-podiumsharp-2-ijfe.woff2) format('woff2');
} 
.podium {
font-family: Podium !important;
font-weight: 800;
font-style: normal;
letter-spacing: -1.2;
-webkit-font-smoothing: antialiased;`

So in short, the fonts don't match - in the site builder looks fine, on mac looks fine, but when I try to look at it on an IOS emulator, it looks bad

IOS Android

The website builder is GoHighLevel, but I think that the problem is it's capabilities (I'm not sure)

`@font-face {
font-family: Podium;
src: url(https://cdn.courses.apisystem.tech/memberships/qSaAvd59RpGDBGLYrvoi/post-materials/f2a2d2d7-2924-4273-b8a4-efceb8880763/Fontspring-DEMO-podiumsharp-2-ijfe.woff2) format('woff2');
} 
.podium {
font-family: Podium !important;
font-weight: 800;
font-style: normal;
letter-spacing: -1.2;
-webkit-font-smoothing: antialiased;`

So in short, the fonts don't match - in the site builder looks fine, on mac looks fine, but when I try to look at it on an IOS emulator, it looks bad

IOS Android

The website builder is GoHighLevel, but I think that the problem is it's capabilities (I'm not sure)

Share Improve this question edited Feb 14 at 16:04 Jack Ffround asked Feb 14 at 16:03 Jack FfroundJack Ffround 11 bronze badge 1
  • You need to define the font-weight also in the font-face rule - otherwise the browser will map it to font-weight 400 and add an ugly faux-bold effect. – herrstrietzel Commented Feb 14 at 19:55
Add a comment  | 

1 Answer 1

Reset to default 0

Import the font from the Google fonts api as your page loads.

发布评论

评论列表(0)

  1. 暂无评论