我使用SVG圖像作爲背景Phone Phone8的PhoneGap項目,但它沒有顯示。以下是代碼SVG圖像作爲背景圖像在Windows Phone 8和Phonegap
.loyaltystar {
position:absolute; margin-top:3px;
background:url(../img/available-icon.svg) no-repeat;
width:21px;
height:21px;
}
<li><a href="a.html" class="loyaltystar"></a></li>
是的PhoneGap 2.4支持的Windows Phone 8
您是否嘗試過它在手機上的一個獨立的網頁? – WiredPrairie
是的,它不工作.. –