DEV Community

loading...

Discussion on: Responsive CSS Layouts WITHOUT Media Queries

Collapse
kylefilegriffin profile image
Kyle Griffin Author

When you use grid-column on a grid containers children, you lose the responsive ability unless you set it again in a media query.
Auto-fit/auto-fill works best with equal size elements. If you're trying to make a traditional website page structure using grid (highly recommended), then look into grid-template-area

Thanks!

Collapse
fretagi profile image
fretagi

Thanks a lot, I was under impression that I was doing something wrong

Forem Open with the Forem app