龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > div+css/html >

透明文本输入框

时间:2012-12-29 08:41来源:未知 作者:admin 点击:
分享到:
透明文本输入框 body style=background:#000 style .input_search { width:199px; height:16px; border:0px; font-size:12px; color:#000000;} .str_seatext {width:230px; height:50px; padding:5px; color:#fff; position:relative; z-index:0;} .st

透明文本输入框

<body style="background:#000">
<style>
.input_search { width:199px; height:16px; border:0px;  font-size:12px; color:#000000;}
.str_seatext {width:230px; height:50px; padding:5px; color:#fff; position:relative; z-index:0;}
.str_seatext div.bj{background:#fff; position:absolute; z-index:-1; left:0; top:0; height:100%; width:100%; opacity:0.3; filter:alpha(opacity=30);}
</style>
<div class="str_seatext">
 name:<input type="text" name="textfield" id="textfield" class="input_search"/>
<div class="bj"></div>
</div>
</body>


精彩图集

赞助商链接