![Sofia Emelianova](https://web.dev/images/authors/sofiayem.jpg) Sofia Emelianova [GitHub](https://github.com/sofiayem)

<br />

Chrome DevTools makes debugging CSS flexbox layouts intuitive. The **Elements** panel provides you with a context-aware **Flexbox Editor** and customizable overlay.

[Video](https://www.youtube.com/watch?v=J5n2aS37rpE)

Watch the video to learn how to:

- Use the **Flexbox Editor** to change flexbox properties with a click of a button instead of typing them.
- Toggle the flexbox overlay in the viewport to see the changes you make right away.
- Use the **Elements** \> **Layout** \> **Flexbox** section to see a list of all elements and locate them in the DOM tree. Additionally, you can customize the overlay colors here.

To learn more about CSS flexbox in general, see [Learn CSS \> Flexbox](https://web.dev/learn/css/flexbox).

For a more hands-on debugging experience in DevTools, follow the [Inspect and debug CSS flexbox layouts](https://developer.chrome.com/docs/devtools/css/flexbox.md.txt) tutorial.