root replace tree css