CSS Grid is a layout system that lets you arrange elements in rows and columns, giving you full control over spacing, alignment, and structure. In traditional web development, you'd use display: grid in CSS — but in Divhunt, this becomes visual. You select a container, switch its display to grid, and immediately see your elements snap into a structured layout.

By default, Divhunt’s grid starts with two columns and automatically generates rows based on your content. You can adjust the number of columns with a simple click, and set their size using fractions (fr), pixels (px), or percentages. For example, setting two columns to 1fr 2fr means the second column will take up twice as much space. If you’re used to using Flexbox, Grid is the next step — built for layouts that need both vertical and horizontal control.

What makes the grid system powerful in Divhunt is how flexible it is. You can combine fixed and fluid sizing, define min and max widths, and span elements across multiple columns or rows. This allows you to build responsive and asymmetric layouts without complicated nesting. 

Building Layouts Visually With Grid

Once you enable grid on any container, the structure becomes editable through the visual builder. You can define column gaps and row gaps directly, helping your content breathe without extra margins. The alignment options let you control how items sit inside the grid — whether you want them centered, stretched, or aligned to the start or end of each cell.

You also have per-item controls. Any child element can be aligned individually, justified within its cell, or moved in order without changing the source structure. Want a specific card to stretch across multiple columns? Just set a column span. Need a tall block to cover two rows? Use row span. These settings are especially useful when designing sections using pre-built templates or building layouts from scratch.

Every grid you build in Divhunt outputs clean semantic HTML, which improves accessibility and supports SEO. It also pairs well with tools like custom CSS, allowing more advanced users to refine the behavior further when needed.

Whether you're a designer looking for layout control or a developer wanting structure with performance, Grid in Divhunt strikes a balance between visual ease and technical power. If you're still learning how grid systems behave, this CSS Grid guide from MDN gives solid fundamentals you can apply inside Divhunt.