cuốn sách gpt4 ai đã làm

HTML/CSS - 谷歌字体 Fira Sans 渲染

In lại Tác giả: Walker 123 更新时间:2023-11-28 05:09:22 hai mươi bốn 4
mua khóa gpt4 Nike

我的页面设计师向我发送了他的作品,包括 Fira Sans 谷歌字体。所以我的笔记本电脑和办公室的电脑上的渲染效果很差。但在我家里的电脑上效果很好。

所有人都安装了 Windows 7。我将向您展示来自 google 字体网页的屏幕。

这是在 Firefox 中的渲染:

This is the rendering in Firefox

无论我使用@font-face 或@import 还是将其添加到<đầu> 中标签.. 结果总是一样的。所以我想知道我是否在三分之二的机器上安装了它……其他用户呢?我应该退出这种字体吗?

以前有没有其他人经历过类似的事情?

更新:这是来自 Joel 片段的渲染 Joel's snippet

câu trả lời hay nhất

您必须将其作为链接 rel 加载。

*{font-family: 'Fira Sans', sans-serif;}
.bold{font-weight:bold;}
.italic{font-style: italic;}
.oblique{font-style: oblique;}


when you import a font by CDN it will be loaded in client side on page loads, so no matters what device is loading it. Maybe you are not linking it well or you're working on local machine or localhost and it causes some issues. On a server must work fine.

biên tập截图: nhập mô tả hình ảnh ở đây

nhập mô tả hình ảnh ở đây

nhập mô tả hình ảnh ở đây

nhập mô tả hình ảnh ở đây

关于HTML/CSS - 谷歌字体 Fira Sans 渲染,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39658488/

hai mươi bốn 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress