Skip to content

Commit

Permalink
Update README example with correct modifies-element() selector output
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguillan committed Mar 27, 2015
1 parent 2a523f4 commit 4e4e819
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ The compiled CSS:
.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; }
Expand Down

0 comments on commit 4e4e819

Please sign in to comment.