Phillip Senn
Phillip Senn

Reputation: 47635

Bootstrap 4 Flex Box Grid

According to this post, Bootstrap 4 offers an opt-in flex box grid.

There’s a boolean variable in the _variables.scss file called $enable-flex. If you set this to true and recompile, a ton of things happen.

Q: How do you recompile Bootstrap? I typed:

git clone https://github.com/twbs/bootstrap

on the command line and my windows computer just hung. I finally had to Ctrl+C and exit.

Upvotes: 1

Views: 3161

Answers (3)

Carol Skelly
Carol Skelly

Reputation: 362670

Import bootstrap-flex into your SASS compiler which also sets $enable-flex:true

Demo here

UPDATE: As of Bootstrap 4 Alpha 6, flexbox is now the default. http://www.codeply.com/go/p/bootstrap_4.0.alpha.6 http://www.codeply.com/go/p/bootstrap_4.0.0

Upvotes: 2

Phillip Senn
Phillip Senn

Reputation: 47635

It looks like scotch.io has a flex box compiled version.

Upvotes: 1

Daimos
Daimos

Reputation: 1473

To compile scss files you need SASS compiler: http://sass-lang.com/

You can find versions for linux and windows.

Upvotes: 2

Related Questions