Vertical align anything with just 3 lines of CSS(zerosixthree.se)

over 9 years ago from Viktor T, Visual Designer

  • Devin HuntDevin Hunt, over 9 years ago (edited over 9 years ago )

    Moving forward, flexbox is making a lot of these classic CSS gotchas easy to solve. Also, the syntax is as clean. Checkout this article for a good example.

    7 points
    • Nick PfistererNick Pfisterer, over 9 years ago

      I thought the same thing when reading this. I started learning flexbox late last year by building my Ghost themes with it. I love it so far. Can't wait to explore more and more complex uses for it.

      0 points
    • Jared ScheelJared Scheel, over 9 years ago (edited over 9 years ago )

      Nothing is easy with flexbox. Between the three major changes in the spec, and every browser implementing the random parts from each spec they want, it's surprising that anybody can get anything accomplished with flexbox. That said, it is incredibly powerful, and will be great when everyone can get on the same page.

      2 points
    • Giulio MichelonGiulio Michelon, over 9 years ago (edited over 9 years ago )

      This is true but the compatibility with browsers is way lower!

      0 points