make ranked css class dynamic