These are chat archives for bem/talk

23rd
May 2016
Sten Hougaard
@netsi1964
May 23 2016 10:52
What is the best way to classify sub elements in BEM? Like if I have an InputGroup where I inside it have an Input class. The Input component could appear on its own, so I think that having a class like this .InputGroup-Input would not be perfect. On the other hand .InputGroup .Input is (I guess) not very BEM'ish :-)
Alexej Yaroshevich
@zxqfox
May 23 2016 10:56
Actually cascading in this case is totally fine. Also you could add modifiers like .input--grouped if you have this info in templates.
And there are no subelements in BEM :-)
Sten Hougaard
@netsi1964
May 23 2016 10:57
So it's down to good old cascading :-)
Thanks @zxqfox
Sten Hougaard
@netsi1964
May 23 2016 11:03
Now that I have a BEM evangelist: Is it correct that most (western) developers have only adapted the CSS part of BEM, and is not using the whole system? Wereas in Russia you are using the whole system.
Aleksei Gurianov
@Guria
May 23 2016 11:04
@netsi1964 https://en.bem.info/ has links to Telegram chat, Facebook group and Twitter which are better places to ask such questions (Personally, I would recommend Telegram). Also https://en.bem.info/forum is good way to share persistent question and answer with whole community.
Sten Hougaard
@netsi1964
May 23 2016 11:05
ok, thank you
Aleksei Gurianov
@Guria
May 23 2016 11:09

Wereas in Russia you are using the whole system:

Most promoted as I know