admin管理员组文章数量:1312774
I'm trying to use this font variant from intervalType website in my Tailwind project. It's the Factor A font. I want it to look exactly like this:
This is what shows in my project:
How can I switch it to the top variant please?
globals.css
@font-face {
font-family: "clooza";
src: url("../fonts/FactorABold.otf") format("opentype");
font-feature-settings: "ss01", "ss03";
}
I'm trying to use this font variant from intervalType website in my Tailwind project. It's the Factor A font. I want it to look exactly like this:
This is what shows in my project:
How can I switch it to the top variant please?
globals.css
@font-face {
font-family: "clooza";
src: url("../fonts/FactorABold.otf") format("opentype");
font-feature-settings: "ss01", "ss03";
}
Codesandbox minimal reproduction: https://codesandbox.io/p/devbox/heuristic-paper-n8kzph?workspaceId=ws_XqiLj2mo8jfZghjhYtQTgb
Share Improve this question edited Feb 3 at 10:45 Damilola Adegbemile asked Feb 3 at 9:53 Damilola AdegbemileDamilola Adegbemile 1035 bronze badges1 Answer
Reset to default 2https://intervaltype/product/factor-a-variable/ has select boxes to switch from "Default Set" to several different ones.
"Funk It Up" appears to be the setting for the capital letters as you want them, and "Rounded Lowercase" is what you'll need for the lowercase letters.
Now when you inspect the textarea containing the sample text below this selection, you'll see that the first one applies font-feature-settings: "ss01";
, and the second one font-feature-settings: "ss03";
You want both those features, so you need to list them both:
font-feature-settings: "ss01", "ss03";
本文标签: Alternative glyphs Factor A font CSSStack Overflow
版权声明:本文标题:Alternative glyphs Factor A font CSS - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741829775a2399862.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论