使用文本作为DIV的背景 [英] using text as background of a DIV
本文介绍了使用文本作为DIV的背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在DIV的背景中获取一段文字,并显示控件。我有效果准备好了,但菜单是在文本,文本导致菜单中的链接不再工作了。我创建了一个jsfiddle来显示我的意思:
有人有解决方案吗?
解决方案
如何添加...
z-index:-1;
到 span.title
规则集? / p>
I'm trying to get a piece of text in the background of a DIV with controls showing over it. I have the effect ready, but the menu is over the text, the text is causing the links in the menu not to work anymore. I created a jsfiddle to show what I mean:
does anybody have a solution?
解决方案
How about adding...
z-index: -1;
to the span.title
ruleset?
这篇关于使用文本作为DIV的背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文