News for hackers. Stuff that matters.
Re:CSS Classes Considered Harmful by andy128k on Wednesday July 17, 2024 @07:30PM (#40991266)
This is what BEM solves. You do not have class="Card big" but class="Card Card_big". And if you care about modifier conflicts you may always define a rule .Card_big.Card_small { /* whatever makes sense */ } and not rely on a random application of attributes.

There are no comments on this comment yet.