A
A
Abra Kadabra2014-11-29 17:26:22
css
Abra Kadabra, 2014-11-29 17:26:22

Flexbox or Bootstrap?

I understand that these are different things. And this question would be similar to: "which is better motorcycle or car?"
But still, the bootstrap is easy to use and has a lot of early chips for the front-ender. And flexbox quietly does most of the same without the use of external libraries and a bunch of media queries.
What to choose ? What would you choose? What's the catch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2014-11-29
@Jmaster

without the use of external libraries and a bunch of media queries

Watching what to do.
The catch is in cross-browser compatibility. If you don't care about IE older than 10, feel free to use flexbox or solutions based on them
philipwalton.github.io/solved-by-flexbox
But if you have to support old IE, then you will cry ... Polyfills like flexie / reflexie are quite raw (you can use flexie, but it only supports very old syntax and without prefixes), and I haven’t gotten to reflexie yet, but it’s in the plans. In any case, it's better not to use these polyfills for complex non-static layouts... There is always display: table.
I personally prefer to use Twitter bootstrap when I'm too lazy to come up with my own UI. There are also many other frameworks and libraries.
The only thing I recommend to you is the use of preprocessors and solutions based on them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question