Load CSS asynchronously

loadCSS is Js function which loads CSS asynchronously.

Usage

Include the loadCSS JavaScript file in the document or add it inline, then call it by passing it a stylesheet URL, for e.g.



...


...


Leave a Reply

Your email address will not be published. Required fields are marked *