Topic: MDBBtn gradient="blue" color not showing when deployed on EC2
I have used MDBBtn and blue gradient color like this:
and I also imported the mdb.css:
The blue gradient button works perfectly when I run locally, but when deployed the same code to my AWS EC2, the button only shows the default green color. I have installed all the packages and run build successfully, I don't know why this happens. Anyone can help me fix this button gradient color issue? Thank you.
Resources (screenshots, code snippets etc.)
Services & Consulting
Hire our experts to help you design or build a dedicated project.
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.23.1
- Device: EC2
- Browser: Chrome
- OS: Ubuntu
- Provided sample code: No
- Provided link: No