Bootstrap 4 alpha(blog.getbootstrap.com)

almost 6 years ago from David Barker

  • Leon KLeon K, almost 6 years ago

    Why would you want this? You would have to load 2 grid systems, which will increase the file size of your CSS file, and you cant use the extra flexbox features as you want to be able to fall back to the normal grid while still having stuff look the same. Or is there something I am missing?

    0 points
    • Account deleted almost 6 years ago

      Can't say much before I'll (perhaps) try an approach like this for a live project and find out whether it makes sense or not. So it's of course possible that it's not worth the effort. That's why I was curious to hear if Mark would have any thoughts here on whether it'd be possible/smart/stupid.

      But to answer your questions: I'd want to do it because I'd like to start using flexbox but the browser support isn't quite there yet for production. Using same class names and framework along with modernizr seems like a plausible and easy way to get to use flexbox.

      It seems like the fallback grid would add about 8kb extra to my CSS, which I can live with if that would be the only problem.

      I could use extra flexbox features and not really care about stuff looking the same. Meaning that I'd focus on providing a nice experience for good browsers but also have something that would probably get the info across for crappy browsers. So let's say I'd have 3 product features (like the 3 grey circles in http://getbootstrap.com/examples/carousel/ for exmample) with images along each other. For flexbox they could use "space-between" and equal height columns etcetc. but crappy browsers would just display them side to side, still providing an adequate enough experience.

      0 points