UNPKG

fg-loadcss

Version:

A function for loading CSS asynchronously

12 lines (11 loc) 348 B
<!doctype HTML> <html> <head> <title>Recommended Pattern Test</title> <meta charset="utf-8"> <link rel="stylesheet" href="slow.css" media="print" onload="this.media='all'; this.onload=null;"> </head> <body> <p>This is a test file to demonstrate the recommended pattern for loading a stylesheet asynchronously.</p> </body> </html>