Code refactoring in css file