Welcome to the Treehouse Community
Looking to learn something new?
Dan-Thomas Tveita107 Points
Chrome: z-index parallax issue
Im trying out a pure-css parallax like in this pen: http://codepen.io/dantveita/pen/BjQJQL
But when content is not scrolling, the z-index breaks in Chrome (not Safari).
To recreate the issue in the pen, just change the height of the image (as commented) til content no longer scrolls.
Any quick ways to solve this?
Tom Geraghty24,162 Points
What do you mean the z-index breaks? When I resize the height so there is no vertical scroll the image is overlayed on top of the other elements on the page.
The height value that has the comment next to it affects how much space is inserted between the paragraph text and the top of the page. What isn't working correctly?
NOTE: I tried this using Chrome