DEV Community

Discussion on: What should production CSS look like? Share your layout-to-web workflow

Collapse
 
phoinixi profile image
Francesco Esposito

About ids yes, I would just create a different class.

Create reusable components instead of reusable classes I mean that it’s more clean and elegant, in my opinion, to reuse a component or custom element that encapsulates its own style instead of using the same class on 2 different elements, that I guess it’s the same of scoped CSS in Vuejs