5 ms·
I don't really want to add to the dogpile of comments explaining why you missed the point, but the blog post pretty clearly states what the criteria for the "ch
by aroman 14y ago
I don't really want to add to the dogpile of comments explaining why you missed the point, but the blog post pretty clearly states what the criteria for the "challenge" were:
"Here's the challenge: try to see if you can make the red <span> element stack behind the blue and green <span> elements without breaking any of the following rules:
Do not alter the HTML markup in any way.
Do not add/change the z-index property of any element.
Do not add/change the position property of any element."
- recursive 14y agoHe didn't change the markup. He changed the CSS. He didn't add a property to an element. He added a property to a rule.
- mistercow 14y agoHe didn't add a property to a rule. He entered text in the CSS editor. He didn't enter text in the CSS editor. He pressed some buttons on a keyboard. We could keep at this for a while, if you want.
- aroman 14y agoYeah I'm really not sure what you're trying to say. He explictly set the z-index on the elements by editing the CSS. It wasn't the inherent act of editing the CSS that was the violation -- explicitly setting the z-index was.