DEV Community

Discussion on: A Ridiculously Simple Way For Creating Responsive Web Apps

Collapse
gradosevic profile image
Goran Radosevic

I believe the future is without media queries at all. Today we can make responsive layouts with grid using minmax in grid-template-columns.

Example

display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));