背景图片未显示在我的github.io上

时间:2018-09-24 07:10:13

标签: html css github github-pages

因此,如果您在默认浏览器中的编辑器中运行我的代码,则会显示背景图像,但是自从我在github上将其设置为.io以来,背景中都没有图像显示。

有人知道为什么吗?!感谢您的任何反馈!

How it should be

Whats happening on my .io!

帮助!!!!!

谢谢!

https://github.com/Joeyryanbridges/lindseyStyle(github代码)

1 个答案:

答案 0 :(得分:0)

欢迎堆栈溢出,看起来像图像路径和CSS背景速记是错误的。

.centerImg{background: url('../images/succ2.png') no-repeat center fixed ghostwhite; 
background-size: 56%;}

让我知道它对您有用。

相关问题