DEV Community

Discussion on: Tips And Tricks Write Less CSS

Collapse
 
egaprsty profile image
Ega Prasetya

nice one

Collapse
 
perpetual_education profile image
perpetual . education

For example

.thing {
  background-position: whatevers;
}

@media (min-width: 600px) {
  background: red; /* removes the position */
}

and in general... "Writing too much CSS" isn't a problem. Your coworkers not being able to read your CSS is the problem.