.grid {
display: grid;
grid-template-columns: 1fr 1fr 2.5fr 1.5fr;
}`<flex>` CSS type / notebook
`<flex>` CSS type
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.