【发布时间】:2016-12-15 00:42:01
【问题描述】:
我目前遇到 Safari 无法在我的 CSS 中显示背景图片和背景颜色的问题。显然它只是主页。
#footer {
background-color: #00594c;
}
#home_widget_1 {
background-color: #00594c;
color: white;
height: 485px;
border-right: 1px solid white;
background-image: url(https://www.fvcolumbus.org/stage/wp- content/uploads/2016/12/independent-living1.png);
background-size: 510px 282px;
background-repeat: no-repeat;
margin-right: 0px !important;
background-position: center top;
}
#home-featured-image {
height: 540px;
width: 100%;
display: block;
max-width: 1280px;
margin-right: auto;
margin-left: auto;
background-image: url(../stage/wp-content/uploads/2016/10/10192016_homepage.jpg);
background-repeat: no-repeat;
}
【问题讨论】:
-
请在问题文本中提供有关您问题的所有信息。希望没有人会在他们的耳朵之间点击您的自定义链接,这可能是一种攻击媒介。
-
你是绝对正确的。谢谢