# Flexbox and Grids, your layout's best friends

Canonical URL: https://aerolab.co/blog/flexbox-grids
Published: 2017-10-31
Author: Eva Ferreira
Last reviewed: 2026-11-19

Ferreira explains how CSS Grid and Flexbox can work together. The article calls the combination “Frids-layout” and argues against treating the tools as rivals or reducing Flexbox to a Grid fallback.

## A complementary layout approach

Flexbox is introduced for arranging content along an axis, often within components. Grid handles two-dimensional structures such as page layouts and more complex arrangements. The examples discuss shared alignment concepts and responsive behavior, including wrapping, fractional tracks and minimum/maximum sizing.

## The MagicCube example

For MagicCube's identity and website work, Aerolab used Grid for the news page's complex layout and Flexbox for the contents of its cells. Feature queries supplied a simpler alternative for browsers without the needed support. The goal was a usable responsive experience while preserving the intended richer layout where supported.

Browser versions, gap-property forecasts and compatibility observations in the original reflect 2017. This document preserves the conceptual argument and project account without presenting that support table as current.

The article's practical lesson is to choose layout tools by the structure of the content and compose them where useful. See [web accessibility](https://aerolab.co/blog/web-accessibility.md) for another article by Ferreira on the quality of web experiences.
