# CMS for Developers: Three Column Module for Practicum

**URL:** <https://community.hubspot.com/t/cms-for-developers-three-column-module-for-practicum/79000>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [April 10, 2023, 6:19pm UTC](https://community.hubspot.com/t/cms-for-developers-three-column-module-for-practicum/79000 "2023-04-10T18:19:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Indra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/indra/32/98381_2.png) [@Indra](https://community.hubspot.com/u/Indra)\
**Post date:** [April 11, 2023, 7:20am UTC](https://community.hubspot.com/t/cms-for-developers-three-column-module-for-practicum/79000/3 "2023-04-11T07:20:56Z")

</div>

Hi @KCozzi,

To achieve this goal, there are multiple ways to get this.

Easiest is to use display: grid with auto-fit columns.

CSS for example

```lia-code-sample
.row {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr));
}

```

If you want to have more controle over it, you can use CSS media queries like this:

```lia-code-sample
.row {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
}
@media(max-width: 992px){
 .row {
 grid-template-columns: repeat(2, 1fr);
 }
}
@media(max-width: 480px){
 .row {
 grid-template-columns: 1fr;
 }
}

```

Check out this [codepen demo](https://codepen.io/ind88/pen/ZEqGwzM).

[https://codepen.io/ind88/pen/ZEqGwzM](https://codepen.io/ind88/pen/ZEqGwzM)

---

_[View the full topic](https://community.hubspot.com/t/cms-for-developers-three-column-module-for-practicum/79000)._
