.Herd { z-index: 25; /* below pips */ position: absolute; pointer-events: none; } .Sheep { z-index: 50; /* Above Tile (5,10), Road (12), Corner (20) */ position: absolute; background-size: 1200% auto; background-repeat: no-repeat; }