开发者

css hide lower div background

开发者 https://www.devze.com 2023-02-07 03:10 出处:网络
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 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

精彩评论

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

关注公众号