Created
August 18, 2014 21:02
-
-
Save amanaplan/51a765e62e031857982b to your computer and use it in GitHub Desktop.
Advanced Typography CSS — See http://blog.webink.com/opentype-features-css/ for more information
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
/* Turn on typographical kerning, | |
* standard and contextual ligatures, | |
* and contextual alternatives */ | |
body { | |
-moz-font-feature-settings: "calt", "liga", "clig", "kern"; | |
-moz-font-feature-settings: "calt=1, liga=1, clig=1, kern=1"; | |
-ms-font-feature-settings: "calt", "liga", "clig", "kern"; | |
-o-font-feature-settings: "calt", "liga", "clig", "kern"; | |
-webkit-font-feature-settings: "calt", "liga", "clig", "kern"; | |
font-feature-settings: "calt", "liga", "clig", "kern"; | |
} |
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
/* Import Bourbon mixin for */ | |
@import "bourbon/bourbon"; | |
/* Turn on typographical kerning, | |
* standard and contextual ligatures, | |
* and contextual alternatives */ | |
body { @include font-feature-settings("alt", "liga", "clig", "kern"); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment