# CSS Grid - Have Divs inside a grid structure

**URL:** https://community.weweb.io/t/css-grid-have-divs-inside-a-grid-structure/1607
**Category:** How do I?
**Tags:** css
**Created:** [December 16, 2022, 9:51am UTC](https://community.weweb.io/t/css-grid-have-divs-inside-a-grid-structure/1607 "2022-12-16T09:51:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Niruban\_Satchi](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Niruban\_Satchi](https://community.weweb.io/u/Niruban_Satchi)
#### Post date: [December 16, 2022, 9:51am UTC](https://community.weweb.io/t/css-grid-have-divs-inside-a-grid-structure/1607/1 "2022-12-16T09:51:02Z")

</div>

Hi,  
Coming from webflow.

I’m trying to create a simple grid-like structure to drop a bunch of divs in.  
I can use the column element, but for each flexbox I add, it increases the number of columns, instead of wrapping to the next row. Help!

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/53f2eb35602113f20f8a20fabcd4788581d0c578.png)

---

<div class="post-metadata">

### Author: ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)
#### Post date: [December 16, 2022, 10:15am UTC](https://community.weweb.io/t/css-grid-have-divs-inside-a-grid-structure/1607/2 "2022-12-16T10:15:39Z")

</div>

You need to use the “Mosaic” mode.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/4698accce0b5e414f8ecf3437db3dd853af469e4.png)

---

<div class="post-metadata">

### Author: ![Niruban\_Satchi](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Niruban\_Satchi](https://community.weweb.io/u/Niruban_Satchi)
#### Post date: [December 19, 2022, 10:15am UTC](https://community.weweb.io/t/css-grid-have-divs-inside-a-grid-structure/1607/3 "2022-12-19T10:15:04Z")

</div>

Thanks so much! makes sense!
