flexibility is nice but sometimes it's just not enough ⚡
Is flexbox still relevant? i mean sure, for simple layout tasks like centering elements or creating flexible rows/columns. But when you dive into complex multi-column designs w/ varying content heights and responsive requirements. that's where grid really shines.
Take a look at this example:
. container {display: grid;}. item1 {grid-template-rows:[header] auto [content main-footer]; }item2{height:auto;}It's like flexbox on steroids, but with more control over rows and columns. No need to nest divs or use multiple classes for different breakpoints.
Now don't get me wrong - i'm not saying we should abandon Flex altogether ♂️ But grid is def the future of CSS layout ⭐
Imagine a world where every designer can whip up complex layouts with just one property. That's what Grid promises, and it's getting there.
So tell me: Are you still flexing your skills? Or are we moving fully into an era dominated by grid?
>Are comments open to switching over or sticking stubbornly to Flexbox for now?Flex vs Grid : The battle rages on