Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// Incorrect:
<div class="article">
<div class="title">Title</div>
<div class="content">Article contents goes here!</div>
.article {}
.article .title {}
.article .content {}
// Correct:
<p>Article contents goes here!</p>
<li>list item</li>
article {}
article > h1 {}
article > p {}
article > ul {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment