Skip to content

Instantly share code, notes, and snippets.

@kasunben
Created February 24, 2017 10:42
Show Gist options
  • Select an option

  • Save kasunben/438ee442a94cdc2290c68d5c489d0576 to your computer and use it in GitHub Desktop.

Select an option

Save kasunben/438ee442a94cdc2290c68d5c489d0576 to your computer and use it in GitHub Desktop.
// Incorrect
<ul id="list-1"></ul>
<ul id="list-2"></ul>
<img class="main-logo" />
#list-1, #list-2 {}
.main-logo {}
// Correct:
<ul class="list" id="list-1"></ul>
<ul class="list" id="list-2"></ul>
<img id="main-logo" />
.list {}
#main-logo {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment