mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.35k stars 1.15k forks source link

Use MDB Bootstrap For One Part Only #237

Closed fakhamatia closed 5 years ago

fakhamatia commented 5 years ago

How i can use MDB for only one tag ? For example i want only use MDB Table but other things in page use normal Bootstrap not MDB.

Martussky commented 5 years ago

Hi, which version of MDB do you use? Standard or Gulp one? Best, Marta

fakhamatia commented 5 years ago

Hi, which version of MDB do you use? Standard or Gulp one? Best, Marta

MDB 4.7.5 , Standard

Martussky commented 5 years ago

Hi, if you use MDB Gulp version, you will comment or delete in mdb.scss file all unnecessary imported files and then recompile mdb.css file and you will have your own mdb.css file with only needed styles. So, if you want to use only part of MDB styles, please download and use MDB Gulp Free package. Best, Marta

PiotrObrebski commented 5 years ago

You can do the same thing with our js using gulp package. In modules.js remove all elements you don't want to use and compile our package using gulp. You can find all needed information about customization of our package in this tutorial: https://mdbootstrap.com/education/bootstrap/gulp-installation/