Showing Bootstrap 5 Error in w3.org Fixer. "CSS color invalid RGB function."

I’m using https://validator.w3.org/nu to check my website and make sure it’s free of errors, but since I’m using Bootstrap it has some errors Comes in Bootstrap version. Normally, I check what errors are shown and if they are not so important I just override the CSS so that the verifier does not show any errors.

Now I have Bootstrap v5.1.0 installed and found some bugs that I can’t override:

.text-primary{--bs-text-opacity:1;color:rgba(var(--bs-primary-rgb),var(--bs-text-opacity))!important}

There is something wrong. "CSS: Color: Invalid RGB function." And! The key is yellow (marked as an error)

Why is this a problem? Is this the main reason?

Leave a Reply

Your email address will not be published.