add css painting