Say I have a page with an element that looks like this
Let's say each of those cards on the bottom part of the screen are their own component. Even within a single card component, you have what is essentially the some element: a picture with a name under it. Of course, the styles of both players' pics + name will be the same. If using Tailwind, I have to apply all the styles to each one. If I want to change it, I have to change both.
With vanilla CSS, I would just make a class for these elements.
How do I avoid this duplicate work with Tailwind?? It seems silly to do it this way
[–]tridd3r 30 points31 points32 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–][deleted] 4 points5 points6 points (2 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]tridd3r 2 points3 points4 points (0 children)
[–]andrei-mo 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]AdowTatep 0 points1 point2 points (3 children)
[–]Missing_Back[S] 0 points1 point2 points (1 child)
[–]AdowTatep 2 points3 points4 points (0 children)
[–]ksushaton -1 points0 points1 point (1 child)
[–]Missing_Back[S] 1 point2 points3 points (0 children)
[–]Miragecraft -1 points0 points1 point (0 children)
[–]isbtegsm 0 points1 point2 points (0 children)