Skip to content

Instantly share code, notes, and snippets.

@greaterweb
Created August 12, 2015 02:54
Show Gist options
  • Save greaterweb/79a9fe70ba15aa202071 to your computer and use it in GitHub Desktop.
Save greaterweb/79a9fe70ba15aa202071 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<article class="wk-document">
<p>Testing</p>
</article>
<article typeof="pci-core:BibliographicResource">
<p>Testing</p>
</article>
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
$selector-name: '.wk-document';
article#{$selector-name} {
color: #000;
font-style: italic;
}
$selector-name: '[typeof="pci-core:BibliographicResource"]';
article#{$selector-name} {
color: #333;
font-weight: bold;
}
article.wk-document {
color: #000;
font-style: italic;
}
article[typeof="pci-core:BibliographicResource"] {
color: #333;
font-weight: bold;
}
<article class="wk-document">
<p>Testing</p>
</article>
<article typeof="pci-core:BibliographicResource">
<p>Testing</p>
</article>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment