MDN self-hosted library · e01.org

Responsive web design

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
@media screen and (width >= 80rem) {
  .container {
    margin: 1em 2em;
  }
}
css
.container {
  display: flex;
}

.item {
  flex: 1;
}