css input加图片,怎么把图片变小一点呀?这样太大了。另外怎么给搜索图片加点击事件?
<view style="margin-top: 20px;">
<input class="homtInput" placeholder="搜你想要的..." />
</view>
.homtInput{
width: 90%;
height: 35px;
border: 2px solid #75b6dc;
border-radius: 30px;
margin-left: 5%;
text-indent: 20px;
padding-right:20px;
background:url("../../static/tab/ss.png") no-repeat scroll right center transparent
}