Fix: replace width and height with pixel

     replace transition of opacity with width and height