Flexbox enabled?

AdamEsterle asked 8 years ago

http://v4-alpha.getbootstrap.com/getting-started/flexbox/ 1) Does MDB support flexbox enabled and disabled? How do you recommend us enabling it? Just enable it in our Bootstrap 4 _variables.scss file? Does MDB css override that? Flexbox is mentioned a few times on your site and I'm just a little confused on if its enabled or not and how to switch it on and off 2) Should we be using mdb's version of Bootstrap.css? Or can we just reference the bootstrap package directly? In other words, does MDB do any tweaks to the base Bootstrap 4 css?

Marta Szymanska staff pro premium answered 8 years ago

Hello, MDB support flexbox but not every section of MDB is compatible with flexbox (we will fix this in next release). In MDB file you need enable it in _variables-b4.scss and change this link: <link href="css/bootstrap.min.css" rel="stylesheet"> to this <link href="css/bootstrap-flex.min.css" rel="stylesheet"> Best, Marta

AdamEsterle answered 8 years ago

Thank you for the reply! Will there be any documentation (perhaps in the next release) on handling flexbox? Can you also advise on this question: 2) Should we be using mdb’s version of Bootstrap.css? Or can we just reference the bootstrap package directly? In other words, does MDB do any tweaks to the base Bootstrap 4 css?

Marta Szymanska staff pro premium answered 8 years ago

Hi, Yes, it will be documentation for flexbox. You should use MDB's version of bootstrap.css. If there will be any changes we will inform about this. MDB override Bootstrap.css. Best, Marta

IMJE pro answered 8 years ago

Marta - there is no bootstrap-flex.min.css or _variables-b4.scss in the provided MDB-Pro 4.20 ? How do we enable Flexbox? Thank you. Edit: Your colleague answered it here: http://mdbootstrap.com/forums/topic/how-do-you-make-cards-all-the-same-height-in-a-row-mdb3/ Cheers!
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags