Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Thoughts on Adjoining / Chaining Classes Reply To: Thoughts on Adjoining / Chaining Classes

#158112
rolfen
Participant

I use them generously, and I also was surprized about this.
Come to think of it a little, it is probably because the class “two” could also apply to other adjacent classes, so you can define .column.two, but say you also want to define .level.one for the same element… then you will have a problem because it won’t be clear to what the two applies. You will need to do something like .column-two and .level-one.
But heck, i’m gonna continue using them, I guess. Hey after all, I know what I’m doing.