Scott Jehl:
Don't just up and do this to all your stylesheets though, otherwise, you'll get a pretty nasty "Flash of Unstyled Content" (FOUC) as the page loads. You need to pair the technique with a way to ship critical CSS. Do that though, and like Scott's opening sentence said, it's quite impactful. Interesting side story... on our Pen Editor page over at CodePen, we had a FOUC problem:
What makes it weird is that we load our CSS in Direct Link to Article — Permalink The post The Simplest Way to Load CSS Asynchronously appeared first on CSS-Tricks. from CSS-Tricks https://www.filamentgroup.com/lab/load-css-simpler/ The Simplest Way to Load CSS Asynchronously Find more on: Instant Web Site Tools from https://www.instant-web-site-tools.com/2019/07/30/the-simplest-way-to-load-css-asynchronously/
0 Comments
Leave a Reply. |