News for hackers. Stuff that matters.
Re:Tailwind CSS v3.0 by LouisSayers on Friday December 10, 2021 @03:00PM (#29514776)
I'm definitely going to have to do some research on bananas after this lol.

In CSS land however you wouldn't break the world for a different banana, you'd simply add another class for the variant and style appropriately.

.banana { // generic banana styles }

.banana.musa-velutina { color: pink; }

Of course not all decisions are going to be as straightforward, but I do think that there's a lot of value in keeping a website's items consistent.

The work upfront to name things and build out concepts will pay its dividends as you extend a site or build out new ones.

There are no comments on this comment yet.