有没有使输入透明的纯CSS方法? [英] Is there a pure CSS way to make an input transparent?
本文介绍了有没有使输入透明的纯CSS方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使此输入透明?
<input type="text" class="foo">
我已经尝试过了,但是没有用.
I've tried this but it doesn't work.
background:transparent url(../img/transpSmall.png) repeat scroll 0 0;
推荐答案
input[type="text"]
{
background: transparent;
border: none;
}
没有人会知道它在那里.
Nobody will even know it's there.
这篇关于有没有使输入透明的纯CSS方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文