Created
November 26, 2021 13:56
-
-
Save ihorduchenko/0a1d26c2e5fcaaa63b2e6fd9a269090f to your computer and use it in GitHub Desktop.
Defer loading CSS file using media attribute trick
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
<link rel="stylesheet" href="theme.css" media="print" onload="this.media='all'"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment