@correlucas
Posted
Hola Carlos, parabéns pela sua solução, para construir essa solução com o grid-layout, você pode usar as dicas seguintes:
Por ejemplo, para crear esta grilla con 3 columnas, solo una grid-template-column: 1fr 1fr 1fr;
y max-width: 900px
de esta manera creas automáticamente un componente con 3 columnas de 300px cada una.
Y cuando el componente tiene que ser mobile con el media query, solo ponendo grid-template-column: 1fr;
hacer todas los cards verticales
Espero que te ayude, saludos desde Brasil!
Marked as helpful