Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<style>
.multicol {
  width: 150px;
  height: 50px;
  columns: 2;
  column-gap: 0;
  column-fill: auto;
  border: 3px solid black;
  margin: 10px;
}
.outer {
  width: 50px;
  height: 100px;
  background: green;
}
</style>
<p>This test passes if there are two 50x50 green squares in each black box.</p>
<div class="multicol">
  <div class="outer"></div>
</div>
<div class="multicol">
  <div class="outer"></div>
</div>