Update on 2020/02/23: I have made some additions to my project. Apologies for the lack of information provided earlier.
The project I am working on is a modified version of the [Gatsby + Netlify CMS Starter][1].
In the process, I swapped out all.sass
with all.scss
.
For styling, I'm utilizing node-sass 4.11.0
.
While attempting to compile a .scss
file as shown below, I encountered an issue:
body {
background-color: #000000;
}
code {
background-color: #ffffff;
}
My expectation was to generate CSS for both the <body>
and <code>
elements.
However, only the styles for the body
element were being output. The actual output looked like this:
body {
background-color: #000000; }
I'm puzzled as to why the selector for the <code>
tag seems to be ignored. Any insights would be greatly appreciated.