DEV Community

loading...

Discussion on: Codecademy - CSS 9: Advanced Grid

Collapse
helen8297 profile image
Helen Kent Author

That's a good way to think about it, thank you!
I used it because that was the instruction in the tutorial - without the z-index property the element was beneath another square. When it was included it was on top but the tutorial said to give it the value of 5, which confused me, because 1-10 did the same thing. Does that make sense?

Collapse
sjellen profile image
SJellen

Plus it probably wouldn’t let you advance until it was at exactly at 5.

Forem Open with the Forem app