Skip to content

Instantly share code, notes, and snippets.

@nucliweb
Created March 24, 2018 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nucliweb/a4e7fcb24c8b97d3938f2e926cf3973b to your computer and use it in GitHub Desktop.
Save nucliweb/a4e7fcb24c8b97d3938f2e926cf3973b to your computer and use it in GitHub Desktop.
Untitled
:root {
--color: purple;
}
:root .cell {
--color: rebeccapurple;
}
html body section p.cell {
--color: red;
}
p {
color: var(--color);
}
<section>
<p class="cell">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</section>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment