我想知道爲什麼我的圖片不加載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