Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialahmed sasi
725 PointsBootstrap 4 and flexbox
How to enable flexbox in bootstrap 4 ?
2 Answers
Sue Dough
35,800 PointsHere is a mirror https://github.com/GitMiester/bootstrap-4-flexbox
Jeremy V
11,110 PointsFrom the Bootstrap documentation:
http://v4-alpha.getbootstrap.com/getting-started/flexbox/
How it works If you’re familiar with modifying variables in Sass—or any other CSS preprocessor—you’ll be right at home to move into flexbox mode.
Open the _variables.scss file and find the $enable-flex variable. Change it from false to true. Recompile, and done! Alternatively, if you don’t need the source Sass files, you may swap the default Bootstrap compiled CSS with the compiled flexbox variation. Head to the download page for more information.
Sue Dough
35,800 PointsSue Dough
35,800 Pointsthe flexbox isn't available for download and if you aren't familiar with SASS then that link should help.
ahmed sasi
725 Pointsahmed sasi
725 Pointsthanks alot