I have a project that won’t let me implement variables. For example, text with this paragraph tag will not be red:
// CSS
:root {
--text-color: red;
}
p {
color: var(--text-color);
}
I have other projects where CSS variables work. When I copy and paste from where they’re broken into something like CodePen the variables work fine. Are there settings that would disable variables like these?