# Float, Flexbox or Grid in 2019?

**URL:** <https://forum.shopware.com/t/float-flexbox-or-grid-in-2019/61693>\
**Category:** Themes & Design\
**Created:** [11. September 2019 um 10:36 UTC](https://forum.shopware.com/t/float-flexbox-or-grid-in-2019/61693 "2019-09-11T10:36:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnclerk123](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@johnclerk123](https://forum.shopware.com/u/johnclerk123)\
**Post date:** [11. September 2019 um 10:36 UTC](https://forum.shopware.com/t/float-flexbox-or-grid-in-2019/61693/1 "2019-09-11T10:36:56Z")

</div>

Quick question… I’m in the middle of an Advanced CSS course and it is going over using Float Layouts to build the entire layouts of the website.[9apps.ind.in](http://9apps.ind.in/)

In the video (2017) the instructor mentions that Flexbox and CSS Grid is supported but not widely available but maybe in the future so building using float layouts are still a good idea.

&nbsp;

It is now 2019, and from what I am reading almost everyone is now using Flexbox and CSS Grid?

&nbsp;

Is it worth spending a few days doing a tutorial on Float Layouts? I don’t want to waste time doing things that are outdated or picking up bad habits.

He has since updated the course with Flexbox and CSS Grid tutorial projects so deciding if I should skip this section. It’s a long section that’s close to 10 hours of video. Lot of wasted time if this style is no longer in favor.

---

<div class="post-metadata">

**Author:** ![Murmeltier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/murmeltier/32/16126_2.png) [@Murmeltier](https://forum.shopware.com/u/Murmeltier)\
**Post date:** [11. September 2019 um 12:06 UTC](https://forum.shopware.com/t/float-flexbox-or-grid-in-2019/61693/2 "2019-09-11T12:06:24Z")

</div>

If I where you I would learn how to handle flexbox and stuff like this…

As you can see here in the link flexbox is now widly accepted and ready to use:

[https://caniuse.com/#feat=flexbox](https://caniuse.com/#feat=flexbox)

---

<div class="post-metadata">

**Author:** ![Shopwareianer](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Shopwareianer](https://forum.shopware.com/u/Shopwareianer)\
**Post date:** [11. September 2019 um 12:23 UTC](https://forum.shopware.com/t/float-flexbox-or-grid-in-2019/61693/3 "2019-09-11T12:23:14Z")

</div>

In my opinion: Learn everything you possibily can. float-layouts is not that difficult and pretty easy to learn. Should not take longer then 30mins. or so. Everything else comes with experience.

But regarding layouts in general: I would focus on grid+flexbox. Grid & Flex are way more complex then float.&nbsp;

---

<div class="post-metadata">

**Author:** ![msslovi0](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@msslovi0](https://forum.shopware.com/u/msslovi0)\
**Post date:** [11. September 2019 um 15:07 UTC](https://forum.shopware.com/t/float-flexbox-or-grid-in-2019/61693/4 "2019-09-11T15:07:15Z")

</div>

Layout is always a mix of technologies. Sometimes flex is ideal to solve a problem quickly, while sometimes a simple float does what you want.&nbsp;

I’m currently working on a layout that uses Grid and Flex. However, it is working against the codebase of the Bare-Theme most of the time. If I would start over I would use floats for a layout based on the Bare/Responsive-Theme. Will save you a lot of headaches.

Regards

Matt
