1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ひとりCSSAdvent Calendar 2022

Day 14

font-feature-settingsを使ってみる

Last updated at Posted at 2022-12-13

ひとりCSS Advent Calendar 2022 14日目です。

font-feature-settings を使ってみます。

使ってみた

https://learn.microsoft.com/ja-jp/typography/opentype/spec/featurelist を参考にプレビューできるようにしてみた。

See the Pen Untitled by Beco (@becolomochi) on CodePen.

よく見かける・使いそうな値

font-feature-settings: 'palt'

Proportional Alternate Widths とのこと。
字間が詰まるので見出しとかに使うと締まって見えて良さそう。

image.png

font-feature-settings: 'pkna'

Proportional Kana とのこと。
こちらは仮名だけ字間が詰まる。

image.png

感想

  • タイポグラフィたのしい
  • swsh 使い倒してみたい
    • 筆記体のぐるぐる

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?