There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.Close
Processing...
This may take a few seconds.

load-style

Syntax

load-style: "url" [every (time)] [after (time)][, (class)...];

url = The url of the CSS stylesheet file to load.

 

This example loads the font-awesome css after the page is active and Active CSS has started.

body:init {
    load-style: "/font-awesome/css/all.css";
}

The stylesheet location is stored in memory as having been loaded and will not be retrieved from the server again if run more than once.

This technique is good for boosting page loading performance, but can have a detrimental effect on initial display due to the lag. It is not used on this site, as it just looks nicer without it.