File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -153,15 +153,15 @@ We encourage some combination of OOCSS and BEM for these reasons:
153
153
154
154
``` css
155
155
/* ListingCard.css */
156
- .ListingCard { ... }
157
- .ListingCard- featured { ... }
158
- .ListingCard_title { ... }
159
- .ListingCard_content { ... }
156
+ .listing-card { }
157
+ .listing-card- featured { }
158
+ .listing-card_title { }
159
+ .listing-card_content { }
160
160
```
161
161
162
- - ` .ListingCard ` is the “block” and represents the higher-level component
163
- - ` .ListingCard_title ` is an “element” and represents a descendant of ` .ListingCard ` that helps compose the block as a whole.
164
- - ` .ListingCard- featured ` is a “modifier” and represents a different state or variation on the ` .ListingCard ` block.
162
+ - ` .listing-card ` is the “block” and represents the higher-level component
163
+ - ` .listing-card_title ` is an “element” and represents a descendant of ` .listing-card ` that helps compose the block as a whole.
164
+ - ` .listing-card- featured ` is a “modifier” and represents a different state or variation on the ` .listing-card ` block.
165
165
166
166
### ID selectors
167
167
You can’t perform that action at this time.
0 commit comments