vmarcosp/minimalist-profile

Install google fonts on <link> instead of @import

VitorLuizC opened this issue · 2 comments

Use a <link rel="stylesheet"> on index.html instead of this

@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");

CSS @import inside an file imported with a <link rel="stylesheet"> cause browsers to download each file in sequence. Download font and style as <link rel="stylesheet"> cause browsers to download files in parallel which is much better!

Source

Yes I did it temporarily 😄 . That was already on my list of improvements.

Fixed in these changes.