These are chat archives for bem/talk

21st
Feb 2015
Mauro Trigo
@maurotrigo
Feb 21 2015 20:01
Hi there, I'm totally new with BEM, its concepts seem to be very useful, I actually want to start using them, but I also want to combine them with a library like Bootstrap, which we use for many of our products. Does anyone here have experience doing that?
Alexej Yaroshevich
@zxqfox
Feb 21 2015 20:03
One day bootstrap will be refactored using BEM. I believe.
Alexander Savin
@apsavin
Feb 21 2015 21:12

Hi @maurotrigo, it's pretty easy with some CSS preprocessor, something like this:

.my-awesome-bem-flavored-button { // absolute independent block
    @extend .btn; // based on some useful stuff from Bootstrap.
}

see also:
https://github.com/matmuchrapna/bem-bootstrap
and, may be:
https://medium.com/@andersonorui_/bem-sass-and-bootstrap-9f89dc07d20f

Mauro Trigo
@maurotrigo
Feb 21 2015 21:17
@apsavin thanks a lot! I'll check these out!