Question

1
Replies
16
Views
BharatG9850 Member since 2018 9 posts
Corporation Service Company
Posted: October 31, 2019
Last activity: October 31, 2019
Closed

Can we refer font source URLs dynamically in CSS text file rule?

Below it the sample snippet code used to load the fonts from external cdn URL. This URL will change per environment. How can i refer these URLs dyanmically per environment like using data page etc..

Since the text file rule serves static content, can we refer data pages or any other pega clipboard page to populate the URL/host name dynamically per environment?

@font-face{
font-family:"Avenir Roman";
font-weight: 400;
font-style: normal;
}
User Interface
Moderation Team has archived post
Share this page LinkedIn