New on Typekit: Load web fonts with CSS
We’ve gotten a lot of feedback that people are excited to finally use fonts from the Typekit library in their email campaigns, and we’re pleased to support it! It was also great to see LitmusApp added us to their “Ultimate Guide to Web Fonts in Email” on the tail of our Early Access announcement.
Since the Early Access release, we’ve added support for our partners using the Typekit Platform API – which means you can now serve Typekit fonts using the CSS embed code for your customers. See our documentation for more info about using our APIs.
Some folks have asked if we have a preference for the
font-display CSS property. The
font-display descriptor has been introduced in drafts of the CSS 4 specification to provide tighter control over when to display a font. Since the property is not yet widely supported in browsers, we won’t be applying our own preferences to the CSS output that we serve at this time. In the future, we’d like to expose this functionality so you can set your own preferences.
We’re looking forward to see what you build using CSS web font serving from Typekit! Here are some resources for getting started:
Comments are closed.
Any recommended best practices when using the new CSS approach and WordPress?
I like to use a plugin where all I need is the typekit ID it works well. No JS or CSS extra needed.