3 ms·
Note they mean inlining the css rules in a <style> block. Not inlining the css as the style attribute of a tag. The goal is not to have to fetch a second css
by ars 11y ago
Note they mean inlining the css rules in a <style> block.
Not inlining the css as the style attribute of a tag.
The goal is not to have to fetch a second css page.
- jholman 11y agoThat is not the goal. Read TFA; their example specifically still loads small.css by dynamically creating a <link> element after pageload (in a RequestAnimationFrame or onLoad). The goal is to have the CSS already present when the "above-the-fold" content renders, so that it's that much faster to render correctly, improving user experience.