可视代码实时服务器扩展完美呈现了我的页面,但如果我手动打开index.html
,则会遇到许多实时服务器上未显示的问题。
我搜索了Google,但没有找到任何东西。 Here是文件。
答案 0 :(得分:0)
这对我有用:
#showcase{
background-image: url('./showcase.jpg') ;
background-repeat: no-repeat;
background-position: center center;
height: 600px;
}
.imginfo{
float: left;
min-height: 100%;
width: 50%;
background: url(./photo-1.jpg);