我目前正在尝试链接 normalize.css
但它不工作(使用 socket an express)
html
head
title= "Real time web chat"
link(href='/css/normalize.css')
script(src='/chat.js')
script(src='/socket.io/socket.io.js')
script(src='http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js')
body
#content(style='width: 100%; height: 600px; margin: 0 0 20px 0; border: solid 1px #999; overflow-y: scroll;')
.controls
| Name:
input#name(style='width:350px;')
input#field(style='width:350px; display: inline; margin-left -90px;')
input#send(type='button', value='send')
最佳答案
你需要rel
link(href='/css/normalize.css', rel='stylesheet')
关于css - 你如何将css链接到jade文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20256782/