Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Gabriela Macsim
Gabriela Macsim
3,821 Points

Which are the disadvantages of using CSS grids instead of using float or display properties?

I find using grids is so simple and clean, but I haven't seen it used by many. Maybe I didn't look well enough, but anyway, I'm still curious.

1 Answer

Steven Parker
Steven Parker
231,248 Points

Grids are a new technology developed specifically to overcome shortcomings of other layout methods such as floats.

The only disadvantage I can think of is a possible need to support browsers still in use that do not handle them. Otherwise, I'd expect two reasons would explain why it's not seen often yet:

  • the code may have been developed before the technology was widely implmented
  • the developer may be more experienced with and comfortable using other methods
Gabriela Macsim
Gabriela Macsim
3,821 Points

I understand, thank you!