MDN self-hosted library · e01.org

`<display-legacy>` CSS type

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

html
<div class="container">
  <div>Flex Item</div>
  <div>Flex Item</div>
</div>

Not a flex item
css
.container {
  display: inline-flex;
}
css
.container {
  display: inline flex;
}