Jump to content

Adding font-display to Font Awesome


SeNioR-

Recommended Posts

Hi. I would suggest considering adding the font-display attribute to Font Awesome & Google Fonts to remove the warning in Google PageSpeed Insights.

More at: Ensure text remains visible during webfont load

Warning:

font-awesome-wwff.png.3ed5ff214e4858f7ba1c3599f9c86d87.png

Solution:

fd-css.png.2422db9be057d8c5a4128911dae2d8b3.png

and add parametr display=optional to https://fonts.googleapis.com

<link href="https://fonts.googleapis.com/css?family=Inter:300,300i,400,400i,500,700,700i&display=optional" rel="stylesheet" referrerpolicy="origin">

Best regards.

Edited by SeNioR-
Link to comment
Share on other sites

  • 10 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...