Skip to content

Instantly share code, notes, and snippets.

@aneurysmjs
Last active October 29, 2019 08:58
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 aneurysmjs/06cb054dae8851434340d8e318e6ecb9 to your computer and use it in GitHub Desktop.
Save aneurysmjs/06cb054dae8851434340d8e318e6ecb9 to your computer and use it in GitHub Desktop.
CSS stuff
<!--
even though the "blue" comes later in the list of classes,
but CSS rules of precedence actually depends of the order of
classes in the stylesheet
-->
<span class="red blue">
so I'm red
</span>
/* CSS */
.blue { color: blue; }
.red { color: red: } /* this is why the text is red */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment