.grid { display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 10px; } .grid div { align-self: center; } .grid img { width: 100%; }