CSSLayout Lab
CSS Layout Lab is an interactive space to learn and experiment with the different ways of building layouts in CSS: from classic models like block and inline, to modern tools like flexbox and grid.
CSS Layout Lab provides clear documentation and dynamic examples, with which you can modify values and see in real time how the arrangement of elements adjusts, gaining a better understanding of the possibilities of each approach and how to apply them in your projects.
Introduction to CSS LayoutsChoose where to start building
Fundamentals
Box model, display, sizing, margins, float and positioning: the foundations of any layout.
9 topicsFlexbox
Distribute elements along one axis and let them adapt to the available space.
12 topicsGrid
Control rows and columns at once to define complete structures.
18 topicsBeyond
Container queries, logical properties, multi-column, anchor positioning and recipes ready for your projects.
6 topics
Learn visually with practical and dynamic examples
Every example is interactive: you can edit the HTML and CSS code right in the editors and see the changes in real time. Try changing any value in this example and check the result. I hope you enjoy the content!
About Me
After many years working in web development, CSS continues to amaze me with its possibilities and constant innovations. One of its most important and frequent uses is layout management, which allows you to organize and distribute the elements of a page in a flexible and precise way.
That's why I created this documentation, where I try to explain in a simple way how to create layouts with CSS and how to apply different techniques depending on the needs of each project.
This tutorial is designed for all kinds of developers, from juniors to experts. Some may discover basic concepts for the first time, while others can see in practice how certain properties behave, which are often handled by libraries like Bootstrap or Tailwind, exploring grid and flexbox directly.
I hope you enjoy it!

Juan Manuel Muñoz González
Front End Architect