【发布时间】:2021-10-18 19:27:08
【问题描述】:
我想更改顶部的横幅图像,但是一旦我更改了图像,它们就不再显示了。有人可以检查我的代码,看看为什么它们没有出现吗?
.sub-header{
height: 50vh;
width: 100%;
background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/about-sub.jpg);
background-position: center;
background-size: cover;
text-align: center;
color: #fff;
【问题讨论】:
标签: html css image filenames banner