0
我有目前的情況。我已經設置了範圍的寬度,圖像仍然沒有顯示出來。背景圖像沒有顯示範圍標記
<header>
<img src="img/hamburger_menu.jpg" alt="hamburger menu">
<span>PHOTOSTORY</span>
<span>780-978-5975</span>
</header>
header span:nth-child(3){
margin-left:322px;
background-image: url("img/phone_bg.jpg") no-repeat top left;
height:38px;
width:204px;
}
嘗試添加'display:inline-block;',以便跨度將尊重高度。 –
你是否在'