This question already has an answer here:
(这个问题在这里已有答案:)
How do I make the cross-browser (including Internet Explorer 6) transparency for the background of a div
while the text remains opaque?
(如何在文本保持不透明的情况下为div
的背景制作跨浏览器(包括Internet Explorer 6)透明度?)
I need to do it without using any library such as jQuery, etc. (But if you know of a library that does it I'd love to know so I can look at their code).
(我需要在不使用任何库(如jQuery等)的情况下完成它。(但是如果你知道一个库那样做我很想知道,所以我可以查看他们的代码)。)
ask by Nir translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…