* {box-sizing: border-box;} .wrapper { max-width: 940px; margin: 0 auto; } .wrapper > div { border: 2px solid hsla(35,100%,50%,1); border-radius: 5px; background-color: hsla(35,100%,70%,.5); padding: 1em; color: hsla(20,100%,45%,1); } .wrapper { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; grid-auto-rows: minmax(100px, auto); } .one { grid-column: 1 / 3; grid-row: 1; } .two { grid-column: 2 / 4; grid-row: 1 / 3; } .three { grid-column: 1; grid-row: 2 / 5; } .four { grid-column: 3; grid-row: 3; } .five { grid-column: 2; grid-row: 4; } .six { grid-column: 3; grid-row: 4; } @media (max-width: 568px) { .wrapper {display: block;} }
One
Two
Three
Four
Five
Six