  <link rel="author" title="Kurt Catti-Schmidt" href="mailto:kschmi@microsoft.com">
  <link rel="help" href="https://drafts.csswg.org/css-grid-3/#alignment">
  <link rel="match" href="masonry-justify-content-003-ref.html">
  <style>
html,body {
  color:black; background-color:white; font:15px/1 monospace; padding:0; margin:0;
}

grid {
  display: inline-grid;
  display: inline-masonry;
  masonry-direction: row;
  gap: 1px 2px;
  grid-template-columns: masonry;
  grid-template-rows: repeat(4,20px);
  backgro