In a forum that I frequent, someone asked how they could replace their arbitrary z-index values to only the range needed to get the job done. For example, if they had only 3 z-index values being used (”0″, “30″, “500″) they wanted this to replace them to the smallest values possible (”0″, “1″, “2″). Is this useful? Probably not. But here is my 20 minute solution:

A
A.1
B
C
D