Built-in sass does not recognize native html tags #15992
Answered
by
jamesmosier
billcastillo
asked this question in
Help
-
Bug reportInside article {
font-size: 18px;
}
To Reproduce
article {
font-size: 24px;
color: blue;
}
.post {
font-size: 32px;
color: yellow;
}
Additional contextWork around is to use next-sass plugin |
Beta Was this translation helpful? Give feedback.
Answered by
jamesmosier
Aug 9, 2020
Replies: 1 comment
-
You must define a class when using SASS modules, using html element selectors will not work. Also |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jamesmosier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You must define a class when using SASS modules, using html element selectors will not work.
Also
next-sass
isn't recommended for integrating SASS into your Next applications anymore. Instead you should use the built-in SASS support: https://nextjs.org/docs/basic-features/built-in-css-support#sass-support