refactor InlineCssHook