Replace :after by transform selector.