Last active
October 29, 2019 08:58
-
-
Save aneurysmjs/06cb054dae8851434340d8e318e6ecb9 to your computer and use it in GitHub Desktop.
CSS stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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