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

Home Forums CSS oocss / b.e.m question Re: oocss / b.e.m question


I am not finding much on “sub-modules” even in that article. The one problem I see with keeping these as modifiers is that each can have additional modifiers and I am not sure that fits in the B.E.M. structure.

For example, currently I have

.list { } and .tab { } which inherits the properties of list.

tab { } has tab–top and tab–bottom.

If I did it this way, can I have a sub modifier like

list list–tab list–tab–top?

I just want to make sure this is correct?