Javascript access CSS engine
<p>Im building Javascript games(2D). The hardest part is creating a colission Detection.
Yesterday a Idea came to my mind and I want to ask if its possible. In CSS you have got the z-Index property. If an Objecte is at the same position as another and has a lower z-index its coverd by the other. If I set all collission objects to z-index 0 and my Player to 1 my Player would cover the objects when colliding. Can i acces the CSS engine to use the overlapping? If its possible i could set some kind of callback to detect colission and dont lose Performance.</p>

<p>Thanka for your Held
Miemels</p>