README.md in bem-constructor-0.4.0 vs README.md in bem-constructor-0.5.0
- old
+ new
@@ -250,16 +250,16 @@
/* Veggie Burger block modifier */
.o-burger--veggie { texture: smooth; }
/* Veggie Burger block modifier modifies the Meat element too */
- .o-burger--veggie .o-burger__meat { type: lentils; }
+ .o-burger--veggie > .o-burger__meat { type: lentils; }
/* Veggie Burger block modifier modifies the Extra Topping element too */
- .o-burger--veggie .o-burger__extra-topping { ingredient: avocado; }
+ .o-burger--veggie > .o-burger__extra-topping { ingredient: avocado; }
/* But as hackers we couldn't resist the urge to add some Bacon back */
- ._o-burger--veggie .o-burger__extra-topping { ingredient: bacon; }
+ .o-burger--veggie > ._o-burger__extra-topping { ingredient: bacon; }
/* When the party Theme is Mexican, we make everything spicy */
.t-mexican .o-burger { spicy: hell-yeah; }
/* And we're all sad when a burger Is Cold */