Skip to content

Instantly share code, notes, and snippets.

@carl0zen
Last active September 2, 2020 10:21
Show Gist options
  • Save carl0zen/01ebb1e7fb6cc7aacf96896de718cf4d to your computer and use it in GitHub Desktop.
Save carl0zen/01ebb1e7fb6cc7aacf96896de718cf4d to your computer and use it in GitHub Desktop.
BEM example
<body class="scenery">
<section class="scenery__sky">
<div class="sky [sky--dusk / sky--daytime] [sky--foggy]">
<div class="sky__clouds"></div>
<div class="sky__sun"></div>
</div>
</section>
<section class="scenery__ground"></section>
<section class="scenery__people"></section>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment