CMS for Developers: Three Column Module for Practicum

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

.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:

.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