我正在尝试使用web.py创建网页,并添加了引导和涟漪。但是当我运行它时,我会得到以下错误
- - [17/Aug/2020 08:56:01] "HTTP/1.1 GET /" - 200 OK
- - [17/Aug/2020 08:56:01] "HTTP/1.1 GET /static/css/bootstrap-material-design.min.css" - 404 File not found
- - [17/Aug/2020 08:56:01] "HTTP/1.1 GET /static/js/bootstrap.min.css
我收到一个错误,说它不能添加我的样式表,因为它是mime类型。我怀疑这与我给出的路径有关,但不是完全确定 我尝试更改文件路径,在visual studio代码中单击该链接将转到css样式表,但不会转到我的localhost。 Error
Refused to apply style from 'http://localhost:8081/assets/css/stylesheet.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and str
我是css的新手,试图写一个css文件在html文件中使用,这是我的想法。
首先,我编写了一个html文件,如下所示
<!DOCTYPE html>
<html>
<!-- phan dau -->
<head>
<title>
ok we will make it
</title>
</head>
<!-- phan than -->
<body>
<div>
<h1 id="first-heading">