4 ms·
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 sim
by LouisSayers 5y ago
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.