[英]using custom font in css using zip file in react application
I have to use custom font
in my website.我必须在我的网站上使用
custom font
。
I am using font-family: 'barclays-regular'
but it is not reflecting.我正在使用
font-family: 'barclays-regular'
但它没有反映。 so now they have provided barclays-font.zip
for font and said use .woff
format.所以现在他们为字体提供了
barclays-font.zip
并说使用.woff
格式。 I dont know how to use .zip
file and .woff
in our css
.我不知道如何在我们的
css
中使用.zip
文件和.woff
。 how to do it?怎么做? any suggestions or link would be helpful.
任何建议或链接都会有所帮助。
I am using these font in our react app
.我在我们的
react app
中使用这些字体。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.