Submitted by pinkgallica in webmastery

I recently stopped Bootstrap and was surprised by how easy, sort of, grid is. The fact that you can visually picture how your layout will look with something like this:

grid-template-areas:
   "nav nav nav"
   "side main main"
   "footer footer footer";

Is kind of amazing😄

I've had issues using Flexbox for entire layouts, but it's amazing for stuff like cards or navbars. I use Flexbox for my top nav.

Which do you use? Is it a combo of both, or neither?

3

Comments

You must log in or register to comment.

jay wrote

I really need to start using both tbh.. I just apply float:left and float:right to basically everything haha.

2

qrunchy wrote

I currently mostly use flexbox but I'm planning on finding uses for grid as well. I'm actually considering learning floats to see if I can use them to fill in some gaps I've found in both flex and grid. Neither seem suited for the exact layout I wanted and I had to change my design.

2

fLaMEd wrote

I use both! Each have their strengths for different types of layout, or layout within a layout!

1

lime360 wrote

i literally use tables in html, flexbox is sooo HARD

1