change post class in loop

class-1, class-2, class-3