html css refactor