DEV Community

loading...

Discussion on: Quick CSS Quiz #5

Collapse
somedood profile image
Basti Ortiz (Some Dood)

Oh, that is very clever. I should've read the HTML first before I made my answer.

Collapse
ismail9k profile image
Abdelrahman Ismail Author

What was your answer? and can you guess why they are arranged in this way? 😄

Collapse
somedood profile image
Basti Ortiz (Some Dood)

Well, at first, I chose the intuitive answer. I'm sure you know what I mean by that. Then when I scrolled down to see the actual answer, it took me a while to realize that the HTML structure played a huge part in the z-indices of the divs. I should really look more carefully next time. Looking forward to more of your puzzles!