Skip to content

Instantly share code, notes, and snippets.

@amiskov
Last active February 1, 2016 08:49
Show Gist options
  • Save amiskov/e74e1487d5015e2e1d44 to your computer and use it in GitHub Desktop.
Save amiskov/e74e1487d5015e2e1d44 to your computer and use it in GitHub Desktop.
BEM block right
/* HTML-код:
<ul class="cms-list cms-list_square">
<li class="cms-list__item">List Item 1 text</li>
<li class="cms-list__item">List Item 2 text</li>
</ul>
*/
.cms-list {
padding: 0 0 0 7rem;
&_square {
list-style-type: square;
}
&_dec {
list-style-type: decimal;
padding: 0 0 0 3rem;
}
&_disc {
list-style-type: disc;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment