This page simulates a slower load time by loading in the CSS files on a timer.
- In the
head
, This page loadsmain.css
, a small CSS file with just what we need. main.css
hides and styles.pr
elements with loading indicators.- The larger css files reset
.pr
with additional styles and image data just before</body>
.
Result: Page loads with adequate styling incredibly fast.
Users can immediately engage with your site, supplementary styles and detail load shortly thereafter.