Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Trippnology/66a514e94842ab86ac7a86a1b0680670 to your computer and use it in GitHub Desktop.
Save Trippnology/66a514e94842ab86ac7a86a1b0680670 to your computer and use it in GitHub Desktop.
Lazy Load CSS file
<!-- See: https://www.filamentgroup.com/lab/load-css-simpler/ -->
<link rel="stylesheet" href="/path/to/my.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