开发者

css hide lower div background

Is it possible to hide lower div background fully?

I have two fixed position di开发者_开发百科vs with shadow - semi transparent background so they overlap and become darker.

Is there a way - in Adobe Air - to make the lower div's background fully hidden?


Not sure if this helps or what you mean by "in adobe air" but can you not position the background of the second div to start further down with css eg

.div2 {
background-position: 0 50%;
}

Or you can move it down a set number of pixels maybe.

read more about bg positioning: w3c schools


If you want to hide the seconde div why not use jquery to hide it?

$("div1.class").hide()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜