CSS在github页面网站上显示404

时间:2018-08-01 17:04:16

标签: css github http-status-code-404 github-pages

所以我的index.html正常显示,但是css无法正常工作。我在Chrome中打开了开发人员工具,所有CSS文件均出现404错误。我相信问题出在Github上?

我已经为这个新的Github页面切换了存储库,并且之前已经工作过。

这是存储库: https://github.com/Samtrapskin/samtrapskin.github.io

提前谢谢!

1 个答案:

答案 0 :(得分:0)

那两个应该是这样的

link rel =“ stylesheet” href =“ common.css”>

link rel =“ stylesheet” href =“ main.css”>

并且这里的css都应该有模板

link rel =“ stylesheet” href =“ Template / assets / libs / animate / animate.min.css”>

和js都应该有模板

script src =“模板/资产/js/components.js”>

我希望这会有所帮助

相关问题