He 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.
He 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.
Yeah 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.
"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."