Skip to main content
ppefix
Participant
May 5, 2022 4:47 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Legend
May 6, 2022 9:10 AM UTC

Which CS5 app is this question about, please?

Translate
Legend
May 6, 2022 9:15 AM UTC

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

Translate