add css transition for some box