Topic: how to remove waves effect on buttons with .btn class
Avinash Dv free asked 6 years ago
Marta Wierzbicka staff answered 6 years ago
mdb.js
: Waves.attach('.btn:not(.btn-flat), .btn-floating', ['waves-light']);
, safe the file and minify it will work. If you don't minify mdb.js
file, please remember to use in your index.html
this script <script type="text/javascript" src="js/mdb.js"></script>
.
Best,
Marta
webgenery free commented 4 years ago
This is not easier to add a class 'no-waves' and did something like that ? Waves.attach('.btn:not(.btn-flat):not(.no-waves)
Maybe add this in next version to avoid making manual changes in mdb.js
Marta Wierzbicka staff commented 4 years ago
Hi,
thank you for your suggestion, we will think about it.
Best, Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes