markboulton’s avatarmarkboulton’s Twitter Archive—№ 31,896

  1. Quick CSS typography tip. Opentype stylistic sets differ greatly. In your stylesheet, turn a font's opentype sets into CSS variables: --otf-angularG : "ss01"; /* Angular G */ Then... p { font-feature-settings: var(--otf-angularG) 1; } Now it describes what it is.
    1. …in reply to @markboulton
      I can now use these like utility classes for detailed typesetting per HTML element. This is especially useful for very small, subtle stylistic differences I may want to apply or not.