another CSS question

Out of context: Reply #7

  • Started
  • Last post
  • 9 Responses
  • hans_glib0

    anyone with any experience of css flexbox?
    is it kosher?
    is it too new to be safe to use?

    • rather than start a new thread, take a 10 year bump!hans_glib
    • Your users should tell you.
      https://caniuse.com/…
      wordssssss
    • crap. Go with CSSGrid - more powerful newer and awesome.shapesalad
    • shapesalad, you've no clue what you're talking about. flex and grid are both used in different situations. one vs two-dimensional layouts.Milan
    • Flexbox is kosher, and more supported than CSS Grid; In fact it is a fallback for CSS Grid (at least for the moment)evilpeacock
    • Milan's comment should be noted as well since Flexbox only works horizontally, whereas CSS Grid is a full horizontal and vertical means of layout.evilpeacock
    • https://css-tricks.c…evilpeacock
    • Ummm... that's not quite correct. Flexbox can work horizontally OR vertically, but just one dimension at a time. Yes, grid can do both at the same time.ETM
    • Flexbox is hella useful when used for appropriate tasks. I design components with it endlessly.ETM
    • Yes flexbox. Save yourself some time and use Bootstrap's "grid only" css file, which implements it wonderfully.section_014
    • It's great, vertical centering of things used to be a pain. Flexbox is safe and very efficient.Calderone2000
    • cheers all. CSS grid looks way more than i need for the moment.hans_glib
    • ffs, Css Grid ISN'T 100% ready for primetime - it might perhaps be for your clients (check stats), but if you can use flexbox, use that instead.Nairn
    • I'm sitting on the fence with it - I check stats every ~2 months and there's still a hodgepodge of browsers versions, including Safari & Chrome that don't do itNairn
    • hodgepodge = 9% last time I checked.
      I can't wait to use it, but as equally I can't shit on near 10% of customers with broken layouts.
      Nairn
    • If you don't already have it, add that CanIUse site that wordssss posted to your bookmarks, hans.Nairn
    • flex box does just what i need. i guess if it fails on older browsers, then tough...hans_glib

View thread