Topic: how to remove waves effect on buttons with .btn class
Avinash Dv asked 7 years ago
Marta Szymanska staff pro premium answered 7 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 commented 5 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 Szymanska staff pro premium commented 5 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
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes