fix(form): replace outdated css function