Last active
February 1, 2016 08:49
-
-
Save amiskov/e74e1487d5015e2e1d44 to your computer and use it in GitHub Desktop.
BEM block right
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
/* 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