Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 在jade中,无法使用style@font-face_Node.js_Font Face_Pug_Stylus - Fatal编程技术网

Node.js 在jade中,无法使用style@font-face

Node.js 在jade中,无法使用style@font-face,node.js,font-face,pug,stylus,Node.js,Font Face,Pug,Stylus,从工作css文件(由font squirrel生成): 但是没有一个样式声明被写入生成的html 有人看到这里少了什么吗 此语法用于HTML,而不是css。 使用 或者使用:手写笔过滤器谢谢我已将触控笔:过滤器完全隔开。它只是取代了样式,一切都正常。格雷蒂不知道在撰写本文时是否这样做了,但现在需要在样式之后添加。查看更多信息information@mantagen它没有。反正是编辑的。 @font-face { font-family: 'SnowTopCaps'; src: url(

从工作css文件(由font squirrel生成):

但是没有一个
样式
声明被写入生成的
html


有人看到这里少了什么吗

此语法用于HTML,而不是css。 使用


或者使用:手写笔过滤器

谢谢我已将
触控笔:
过滤器完全隔开。它只是取代了
样式
,一切都正常。格雷蒂不知道在撰写本文时是否这样做了,但现在需要在
样式
之后添加
。查看更多信息information@mantagen它没有。反正是编辑的。 @font-face { font-family: 'SnowTopCaps'; src: url('/fonts/snowtopcaps-webfont.eot'); src: url('/fonts/snowtopcaps-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/snowtopcaps-webfont.woff') format('woff'), url('/fonts/snowtopcaps-webfont.ttf') format('truetype'), url('/fonts/snowtopcaps-webfont.svg#snowtopcaps') format('svg'); font-weight: normal; font-style: normal; } ... style @font-face font-family | SnowTopCaps src | url('/fonts/snowtopcaps-webfont.woff') format('woff') font-weight | normal font-style | normal ...
style.
  @font-face {
    font-family: 'SnowTopCaps'; 
    src: url('/fonts/snowtopcaps-webfont.eot'); 
    src: url('/fonts/snowtopcaps-webfont.eot?#iefix') format('embedded-opentype'),
      url('/fonts/snowtopcaps-webfont.woff') format('woff'),
      url('/fonts/snowtopcaps-webfont.ttf') format('truetype'),
      url('/fonts/snowtopcaps-webfont.svg#snowtopcaps') format('svg');
    font-weight: normal;
    font-style: normal;
  }