We have several fields for displaying some data about the hang. Therefore, when we move the mouse over one element, it should expand, move to other elements and show hidden data.
I did something like this:
box:hover { z-index: 50; }
But there is one problem; When we move the mouse to another external white space, the z-index returns to the value, like the others. Thus, it is seen that the hovering element is in the lower layer than the next.
How to prohibit the property to apply until the end of the transition?
Here is my jsFiddle . Try moving the cursor over one element, move the mouse out of the element, and the background image of the other elements will be in front of our hanging element until the transition is completed.
Update: This is a screen shot of the problem. This is when we open the item. background-image other elements in front of our hovering element.

source share