css - 为什么 font-variant-numeric: slashed-zero 不适用于我的谷歌字体?
问题描述
这不会在我的末端产生斜线 0:
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<style>
h2{
font-family: 'Inter';
font-variant-numeric: slashed-zero;
}
</style>
<h2>00000</h2>
我已经尝试寻找答案,但还没有找到一个直接的答案。此外,当我安装字体时,我看不到 0 的变体。
解决方案
推荐阅读
- ios - App Store 收据中缺少原始应用程序版本
- html - 在jade/pug 中阻止HTML 的整个部分,而不是单独的行
- html - 如何在css中的div边框中间创建一条曲线?
- sql - 如何在 SQL Server 中计算余额?
- python - 用 python 修补 module.object
- python - Python缩进字符串到JSON
- reactjs - Service Worker 注册期间出错:DOMException: Failed to register a ServiceWorker for scope.An SSL certificate error occurred
- getstream-io - 移动后端或前端与 GetStream 的集成
- java - 如何以最佳方式使用 toString 方法与 StringBuilder
- c# - DotNetZip / 错误报告