Skip to main content
Became Hot Network Question
Clarity, grammar, spelling; edited tags
Source Link
Stephen Ostermiller
  • 99.4k
  • 18
  • 141
  • 364

preloading .css containg How do you use preload links for CSS containing only @font-face?

I'm declaring preload links in an .cssfor a CSS file containg ONLY @font-face@font-face rules.

Should I add <link rel="preload" href="styles.css" as="style"> as="style"

  or

   <link rel="preload" href="styles.css" as="font"> as="font"?

preloading .css containg only @font-face

declaring preload links in an .css containg ONLY @font-face

Should I add <link rel="preload" href="styles.css" as="style"> as="style"

  or

 <link rel="preload" href="styles.css" as="font"> as="font"

How do you use preload links for CSS containing only @font-face?

I'm declaring preload links for a CSS file containg ONLY @font-face rules.

Should I add <link rel="preload" href="styles.css" as="style"> as="style" or  <link rel="preload" href="styles.css" as="font"> as="font"?

formatting
Source Link
Steve
  • 8.6k
  • 24
  • 29

declaring preload links in an .css containg ONLY @font-face Should

Should I add <link rel="preload" href="styles.css" as="style"> as="style" 

or   

<link rel="preload" href="styles.css" as="font"> as="font"

declaring preload links in an .css containg ONLY @font-face Should I add <link rel="preload" href="styles.css" as="style"> as="style" or  <link rel="preload" href="styles.css" as="font"> as="font"

declaring preload links in an .css containg ONLY @font-face

Should I add <link rel="preload" href="styles.css" as="style"> as="style" 

or 

<link rel="preload" href="styles.css" as="font"> as="font"

Source Link

preloading .css containg only @font-face

declaring preload links in an .css containg ONLY @font-face Should I add <link rel="preload" href="styles.css" as="style"> as="style" or <link rel="preload" href="styles.css" as="font"> as="font"