https://blog.getbootstrap.com/ says
And when you use $enable-gradients, you’ll enable the new .bg-gradient- utilities (disabled by default) for use in navbars and more.
Q: How do I use $enable-gradients? Up until now I've just downloaded the bootstrap.css and .js files. But now apparently I have to compile them?
Yes. You have to generate a custom CSS using Sass.
After setting up the build tools, you'll have to insert $enable-gradients: true;
in your Sass file before the imports.
Then you can generate the custom CSS, and gradients should work!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With