Read an article about critical css. The point is to embed inline styles for the first visible screen of the site when loading. But somehow I didn’t particularly notice that all the sites used by all of them. Perhaps this is not so necessary (useful)?

  • one
    @Grundy Inline styles were meant to be declared in the style tag. And we don’t take out all the styles of witches, but only to display the first screen of the site. - DarkSir

1 answer 1

In addition to all that you wrote critical css affects the optimization.

Before using critical css

Before

After using critical css

After

Source + Detailed description here

  • I understand why this approach was invented. The question is why most sites don't use it. - DarkSir
  • Maybe they don’t know about him? I myself recently learned for example) and maybe they use similar tools for this task - Urmuz Tagizade