我在做什麼壞事?CSS:不顯示背景圖片
CSS:
.submit{
padding-left:10px;
margin:0;
border:0;
outline: 0;
height:32px;
padding-right:32px;
}
.green-btn {
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#61A801), to(#8CC400));
background: -webkit-linear-gradient(top, #8CC400, #61A801);
background: -moz-linear-gradient(top, #8CC400, #61A801);
background: -ms-linear-gradient(top, #8CC400, #61A801);
background: -o-linear-gradient(top, #8CC400, #61A801);
color: #fff;
font-family: verdana;
font-size: 13px;
font-weight: normal;
border-radius:5px;
}
.clipboard{
background-image: url(http://cdn1.iconfinder.com/data/icons/opensourceicons/32/Scissors.png) no-repeat right center;
}
HTML:
<input type="submit" value="Copy" class="submit green-btn clipboard">
的jsfiddle:http://jsfiddle.net/77NYA/
我看到了,你知道像剪刀任何字符?謝謝! – Luis 2012-03-20 02:30:23
'✄'是✄ - 不知道dingbat在字體方面的支持程度如何,這是相當高的數字。你可能只需要添加一個''。 – animuson 2012-03-20 02:32:08