Last active
August 29, 2015 14:06
-
-
Save kangax/5b09c8c923edcdc628e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
<component-name>[--modifier-name|__descendent-name] | |
.component {} | |
.component__descendant {} | |
.component--modifier {} | |
--> | |
<article class="tweet tweet--is-expanded"> | |
<header class="tweet__header"> | |
<img class="tweet__avatar" src="{{src}}" alt="{{alt}}"> | |
… | |
</header> | |
<div class="tweet__body-text"> | |
… | |
<button class="button button--default" type="button">…</button> | |
</div> | |
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
[<namespace>-]<ComponentName>[--modifierName|-descendantName] | |
.Component | |
.Component-descendant | |
.Component--modifier | |
.Component.isState | |
--> | |
<article class="Tweet isExpanded"> | |
<header class="Tweet-header"> | |
<img class="Tweet-avatar" src="{{src}}" alt="{{alt}}"> | |
… | |
</header> | |
<div class="Tweet-bodyText"> | |
… | |
<button class="Button Button--default" type="button">…</button> | |
</div> | |
</article> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment