Rewrite css and html.