
<div style="background:url(xxx.jpg)">
<input type="text">
</div>
方法2:使用定位 并使用z-index:5(整数可以任意填写 数值越大越有限显示)
你应该把文本框本身默认的背景取消,比如:
<input type="text" style="background:none" value=""/>
marquee标签设置文字滚动 body{ margin:0border:0padding:0}#div{ width:400pxheight:300pxbackground-image:url()}marquee标签设置文字滚动
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)