Skip to main content
ppefix
Participant
May 5, 2022
Question

It's posible to use @font-face calls directly in my CSS

  • May 5, 2022
  • 1 reply
  • 205 views

Hi, We are having Performance problems with the typekit imports calls, bacause we can't preload it and it calls to an extra domain we can't preconnect.

So It will be possible to ad to our CSS directly de @11220649-face of each font instead of this 

@1552174 url("https://use.typekit.net/xxxxxxx.css");

We would like to ad this to our CSS:

@11220649-face {
font-family:"xxxx-xx";
src:url("https://use.typekit.net/xxx") format("woff2"),url("https://use.typekit.net/xxx") format("woff"),url("https://use.typekit.net/xxx") format("opentype");
font-display:swap;font-style:normal;font-weight:700;font-stretch:normal;
}

 

thanks

Jose

This topic has been closed for replies.

1 reply

Legend
May 6, 2022

Which CS5 app is this question about, please?

Legend
May 6, 2022

Sorry! Not seeing clearly yet. Of course it was about CSS, not CS5, and this is the best place to ask.