Should i build my layout with only CSS grid or combine it with flexbox and use a combination of the two. I have read a lot about that, but what benefit is there for using Grid and flexbox in tandem?
There is no golden rule which technique to use.
Personally I use Flexbox everywhere possible - because I know Flexbox better than Grid and I have lots of reusable Flexbox components. (Flexbox came out first, years ahead of Grid).
There are cases when Grid must be used and Flexbox can't help. This makes Grid more powerful than Flexbox.
If you are new to both techniques I recommend start with Grid.
Sometimes I too feel the same way. Grid is a little overkill for basic layouts, flexible does the job perfectly 99%. But since grid is all the rage these days, I guess no other choice but to get used to it
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.