我想知道为什么我的图片不加载Firefox浏览器,但加载Safari浏览器/铬?为什么我的图片不能在firefox浏览器中加载,而是在safari/chrome上加载?
.shape {
border-radius: 25px;
background: #4D5061;
content: url(http://i1126.photobucket.com/albums/l611/ldocherty1/IMG_0730_zpsiz4dqc47.jpg);
color: white;
height: 300px;
margin: auto;
padding: 3px;
width: 300px;
top: 15%;
left: 50%;
position: absolute;
margin-left: -150px;
z-index: 10;
}
<div class="shape"></div>
Firefox开发人员工具中的“网络”选项卡显示获取图像的请求是什么? –
为什么你在这里使用'content'css属性? – Ibu