Css refactoring for background