Css view refactor