Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

z index question

hey guys, im building stitch for my daughter and first character attempt... I know i need z-index to change the level...but how in the world do i line up the colors?

https://codepen.io/JRiley32/pen/jxXzqe

almost there!

1 Answer

grant Mitchell
grant Mitchell
6,919 Points

Im not going to look at the project, but you may absolute position your elements and from there decide where things go. or you could have multiple pre built images or shapes in a container.

I've got them stacked. the wife thinks I am an idiot for the cheer I let out. Now to get them into place.