我有这个文件系统:
app
-templates
-static
-css
-category.css
-images
-image.jpg
我的category.css
body
{
background-image:url('static/images/image.jpg') <-- attempted with all levels of path
background-image:url({{'/static/images/'image.jpg}}) ) <-- tried with it all in quotes as well
}
这是简单的CSS,例如样式p标签可以,但是不能。有什么原因吗?
谢谢!
鉴于图像存在于该位置,应该可以使用,