These are chat archives for bem/talk

5th
Mar 2015
Jitendra Vyas
@jitendravyas
Mar 05 2015 10:57
@ssyz1988 try at yelp.com
In BEM is it suggsted to never style HTML selectors?
Aleksei Gurianov
@Guria
Mar 05 2015 12:03
what do you mean exactly? selectors for html tags?
it acceptable only in cascades within block/elements. global css resets not recommended
Jitendra Vyas
@jitendravyas
Mar 05 2015 12:20
@Guria like h1{} h2 {}
Alexej Yaroshevich
@zxqfox
Mar 05 2015 12:49
Usual usage for me is (styl):
.user-content {
  h1 { }
  h2 { }
  p { }
  // etc.
}
Where user-content is a helper block
Jitendra Vyas
@jitendravyas
Mar 05 2015 12:59
@zxqfox is it not against BEM standards?
Alexej Yaroshevich
@zxqfox
Mar 05 2015 13:00
A little bit. But if you have another idea how to pass html from admin panel — a lot of people will honor you ;-)