跳到主要内容
CSS-Tricks
  • 文章
  • 笔记
  • 链接
  • 指南
  • 年鉴
  • 随机
搜索

文章标签
web fonts

29 篇文章
{
,

}
文章 `font-display` 的直接链接
font-display 网页字体

font-display

font-display 属性定义了浏览器如何加载和显示字体文件。它应用于 @font-face 规则,该规则在样式表中定义自定义字体。

@font-face {
  font-family: 'MyWebFont'; /* Define the custom font name */
  src:  
…
Avatar of Geoff Graham
Geoff Graham 于 2020 年 3 月 25 日
文章 #152:与 Zach Leatherman 谈字体加载的直接链接
性能 网页字体

#152:与 Zach Leatherman 谈字体加载

又到了我们配对录制视频的时间了!这次,我邀请了来自 Filament Group 的 Zach Leatherman。过去几年,Zach 在网页字体加载方面做了很多研究、写作和演讲。他有一篇关于 … 的 综合指南。

Avatar of Chris Coyier
Chris Coyier 于 2017 年 2 月 20 日
文章 `font-display` for the Masses 的直接链接
无障碍 CSS font-display font-face font-family 排版 网页字体

`font-display` for the Masses

更新时间:2017 年 1 月 12 日:现在文章正文中包含了正确的支持检查。添加了有关 block 值的信息。一些细微调整和文字修改。尽情享受!

如果您是 CSS-Tricks 的常客,您很可能知道 …

Avatar of Jeremy Wagner
Jeremy Wagner 于 2019 年 11 月 14 日
文章 What’s the deal with declaring font properties on @font-face? 的直接链接
font-face 排版 网页字体

What’s the deal with declaring font properties on @font-face?

我希望您用您最棒的 Seinfeld 腔调大声读出这个标题。

我们论坛上的一个 最近的问题 让我想起来,除了常用的 font-family 和 src 之外,还可以将更多属性添加到 @font-face 中。…

Avatar of Geoff Graham
Geoff Graham 于 2018 年 1 月 29 日
文章 Critical Web Fonts 的直接链接
网页字体

Critical Web Fonts

Zach Leatherman 概述了一种新的网页字体加载方法,该方法可以将加载过程分解为两个阶段

…而不是在第一阶段加载完整的罗马网页字体,它加载了罗马网页字体的一个小子集,在 …

…
Avatar of Robin Rendle
Robin Rendle 于 2016 年 1 月 29 日
文章 TypeKit Starts Using Native Font Loading API 的直接链接
网页字体

TypeKit Starts Using Native Font Loading API

Typekit 已更新了 WebFont Loader 项目,以支持新的 CSS 字体加载 API

在引入原生 API 之前,我们通过在页面中插入测试元素来检测字体加载。这些元素会定期轮询

…
Avatar of Robin Rendle
Robin Rendle 于 2015 年 12 月 17 日
文章 Caring about OpenType features 的直接链接
网页字体

Caring about OpenType features

字体爱好者 Tim Brown 撰写了一篇很棒的文章,介绍了如何使用网页字体的 OpenType 功能来实现排版增强。这些添加可以很细微,例如连字符和小型大写字母,但其他工具,例如字距调整 …

Avatar of Robin Rendle
Robin Rendle 于 2015 年 12 月 17 日
文章 Creating a Web Type Lockup 的直接链接
SVG 网页字体

Creating a Web Type Lockup

Type lockup 是一种排版设计,其中单词和字符的样式和排列非常特定。就像设计被严格地锁定在位。这个概念与我们熟知的响应式网络略有冲突,…

Avatar of Chris Coyier
Chris Coyier 于 2015 年 12 月 17 日
文章 A New Responsive Font Format for the Web 的直接链接
网页字体

A New Responsive Font Format for the Web

Nick Sherman 本月早些时候在 Ampersand 上做了一个精彩的演讲,演讲基于他写的一篇文章,名为 Variable Fonts for Responsive Design。在演讲和文章中,他都提议我们需要一种新的 …

Avatar of Robin Rendle
Robin Rendle 于 2018 年 1 月 29 日
  • 更新的
  • 1
  • 2
  • 3
  • ...
  • 4
  • 较旧的

CSS-Tricks 由 DigitalOcean 提供支持。

关注 web 开发最新资讯

订阅我们的精心制作的时事通讯

DigitalOcean
  • 关于 DO
  • Cloudways
  • 法律事项
  • 获取免费积分!
CSS-Tricks
  • 为我们写文章!
  • 与我们合作广告!
  • 联系我们
社交
  • RSS 订阅
  • CodePen
  • Mastodon
  • X
返回顶部

© 2024 . All rights reserved.