我有<input type = "button" id = "enterButton"/>
並用下面的代碼裝飾它。但是圖像周圍出現灰色方塊。無論如何刪除它?如何刪除按鈕周圍的框?
#enterButton{
width: 45px;
min-width: 45px;
min-height: 45px;
margin-left: 3%;
background-image: url("../img/logo3.png");
background-repeat: no-repeat;
border: none;
-webkit-background-size: 100%;
-o-background-size: 100%;
-moz-background-size: 100%;
-ms-background-size: 100%;
-khtml-background-size: 100%;
background-size: 100%
}
大概不會令整個廣場面積在用戶點擊響應?此外,如果我使用腳本懸停裝飾整個(現在看不見的區域)會觸發它,對吧? –
想要這樣http://jsfiddle.net/9U4EZ/1/? – JackalopeZero
謝謝,先生。 –