Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /css/css-break/background-image-002.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="match" href="background-image-002-ref.html">
<style>
  .container {
    writing-mode: vertical-lr;
    inline-size: 472px;
  }
  .mc {
    columns: 3;
    column-gap: 10px;
    column-fill: auto;
    block-size: 120px;
    border: 1px solid;
    margin-block-end: 20px;
    background: yellow;
  }
</style>
<div class="container">
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) left top;"></div>
  </div>
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) right top;"></div>
  </div>
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) left bottom;"></div>
  </div>
  <div class="mc">
    <div style="block-size:350px; background:red url(../support/cat.png) right bottom;"></div>
  </div>
</div>