#Flash of unstyled navbar before the page loads complete

6 messages · Page 1 of 1 (latest)

radiant oar
dusty warren
#

This doesn't sound like a Astro issue, that's just how pages load. The page renders the HTML then adds the css at the point it is encountered. You can specify the preload attribute to have the css load faster: https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload

The preload value of the element's rel attribute lets you declare fetch requests in the
HTML's , specifying resources that your page will need very soon, which you want to start loading early in the page lifecycle,
before browsers' main rendering machinery kicks in. This ensures they are available earlier and are less likely to block the pa...

radiant oar
dusty warren
radiant oar
river sorrel
#

Any chance you figured this out @radiant oar ?