-
-
Save villian/24bc5bd724b6c904dc15bee04fd1e9c3 to your computer and use it in GitHub Desktop.
Async non-render-blocking loading of cloud.Typography’s typefaces
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
<!-- loadCSS with async --> | |
<script async="async" src="/assets/loadcss.js" type="text/javascript"></script> | |
<!-- preload the fonts --> | |
<link as="style" href="https://cloud.typography.com/[…].css" onload="this.rel='stylesheet'" rel="preload" /> | |
<!-- non-JS fallback --> | |
<noscript> | |
<link href="https://cloud.typography.com/[…].css" media="screen" rel="stylesheet" type="text/css" /> | |
</noscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment