title: How to correctly set background image to div in Chrome?
body: <p>I am learning frontend development and the task is to make diagonal div with image inside. I did it, and in Firefox it looks great, but when I opens it in Chrome it displays incorrectly.</p>
  <p>What could be the reason? How I can fix it in Chrome?</p>
  <p>Fiefox:</p>
  <p><a href="https://i.stack.imgur.com/61KNi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/61KNi.png" alt="enter image description here" /></a></p>
  <p>Chrome:</p>
  <p><a href="https://i.stack.imgur.com/t8QwQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t8QwQ.png" alt="enter image description here" /></a></p>
  <p>So far I did it in this way:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.container {
    display: flex;
    margin: 0;
    padding: 0;
    max-width: 100%;
    background-color: green;
    height: 300px;
  }
  
  .red-div {
    background-color: red;
    width: calc(50% - 50px);
    box-sizing: border-box;
  }
  
  .orange-div {
    width: calc(50% + 50px);
    height: 100%;
    background: orange;
    box-sizing: border-box;
    border-left: 100px solid red;
    border-bottom: 327px solid transparent;
    background: url("https://picsum.photos/id/1/800/800");
    background-size: 527px;
    background-position: -200px 0;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="red-div"&gt;Test&lt;/div&gt;
    &lt;div class="orange-div"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>