<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
我的 CSS 似乎已从我的 gh-pages 中删除,但当我检查我的 GitHub 存储库时,CSS 在那里。我做了什么让这件事发生?
最佳答案
我检查了文件夹结构。 HTML 资源区分大小写。请将链接标签 href 属性中的 css/styles.css 更改为 CSS/styles.css。
您创建的文件夹是“CSS”而不是“css”。
关于CSS 在 gh-pages 托管的网站上是空白的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32618607/