在input中右边加上一个图标的css样式



复制代码
代码如下:

<input class='phone-input' type="text" id="phone"/>
.phone-input{
padding-right:20px;
background:url("resource/***.gif") no-repeat scroll right center transparent;
}

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3