Jump to content

Z depth for divs? (NOT Z-index!


alex@thethirdriver
 Share

Recommended Posts

Is there a way to incorporate some sort of z-depth for divs?Z-index will place a div in front of another (render order)... That's not what I want. Is there a way to make like... a text div SUPER close to the viewer, with an element behind it in Z-space, and then the background? - So you get a depth of field-like effect when scrolling down?http://i708.photobucket.com/albums/ww84/li...phy/example.pngThere's a quick mock up of what I'd like. the text div scrolls normally, but surpasses the blue div because it's closer in Z-space.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...