font-smoothing
でアンチエイリアスの調整font-feature-settings
でカーニングの調整しますletter-spacing
で文字間をお好みで空ける
Last active
December 29, 2016 18:41
-
-
Save mojagehub/7e6dd58e276ed161c1b3348c9ea3fc41 to your computer and use it in GitHub Desktop.
フォントのカーニングとアンチエイリアスの調整
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin fontBeauty { | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
-webkit-font-feature-settings: "palt" 1; | |
font-feature-settings: "palt" 1; | |
letter-spacing: .2em; | |
} | |
section { | |
@include fontBeauty; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment