You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've being trying to use Sass with Bootstrap 4.6.2, and it's impossible since I've always the error due to numeric class's. Eg: .100{ since I'm moving our project to use sass module instead of node-sass. I know the issue would be solved by escaping the values (sass/sass#2956, sass/sass#255), but would be needed to add this to the core library.
@jdinartejesus Bootstrap v4 SCSS doesn't build any classes like the .100 you show in your error message, so I'm guessing you're using their $grays map of values to create classes from, which would mean the issue is in your code, not theirs.
Also, both of the issues you link to mention that CSS doesn't support dot-declared class names starting with numbers (without prefix hackery), so I'm not sure what you're looking for Sass to change. I would recommend you to just prefix your class with a valid character(s) so you are following CSS spec and can avoid fragile/hacky workarounds.
Hello everyone,
I've being trying to use Sass with Bootstrap 4.6.2, and it's impossible since I've always the error due to numeric class's. Eg:
.100{
since I'm moving our project to usesass
module instead ofnode-sass
. I know the issue would be solved by escaping the values (sass/sass#2956, sass/sass#255), but would be needed to add this to the core library.Modules Versions:
Variables creating the issue:
Error message:
The text was updated successfully, but these errors were encountered: