-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap 4.6.2 issue with Numeric Class #1902
Comments
You need to prefix the class with
The browser will see |
@borisdamevin the issue is more the fact that comes directly from Bootstrap. I tried to overwrite variable but sadly doesn't work. |
I'm not sure what the request is here. What specifically would you like to see change about Sass's behavior? |
@jdinartejesus Bootstrap v4 SCSS doesn't build any classes like the 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: