Scott Jehl shares the simplest way to load CSS asynchronously using a simple HTML approach: link
to the stylesheet with the media
type attribute set to print
. Then use the onload
to apply it to all media types once it’s loaded. Scott’s explanation and discussion of some alternative methods is outstanding. 👍