I have a bunch of tiles on the page that expand as the user clicks on them. The deployed one should have the highest z-index , and this works, but I need the z-index to remain until the transition by size is complete. Is there a way to do this using only CSS, without JavaScript? Since I use transitions, I'm not too worried about compatibility here, I applied progressive improvement correctly.
Here's a jsFiddle that demonstrates this. Mouse over A; he goes over. However, the mouse is from him, and she is behind B. I need her to stay in front of B until the transition is complete. Is there an elegant way to do this?
source share