Is it possible to import fonts from the directory with scss?

前端 未结 3 2142
忘了有多久
忘了有多久 2021-02-18 13:10

I have a scss file with font import implemented this way:

@import url(https://fonts.googleapis.com/css?family=PT+Sans+Caption:400,700&subset=latin-ext,cyrill         


        
3条回答
  •  無奈伤痛
    2021-02-18 13:57

    it's a bit late but you can use the following format with libsass for external imports

    @import url("http...");

提交回复
热议问题