@media screen and (width >= 80rem) {
.container {
margin: 1em 2em;
}
}Responsive web design / notebook
Responsive web design
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
.container {
display: flex;
}
.item {
flex: 1;
}