title: Can I get rid of the line that happens when I diagonally split with clip-path?
body: <p>I'm trying to use clip-path to split a page using 2 layers, but a line appears (it's across the a in the view below). Both the left and right side is setup to clip on the same place. I'm thinking it's a rounding issue, but then wouldn't it round both the same way?</p>
  
  <p>How can I make it perfectly clip?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body &gt; div{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
  }
  
  body &gt; div &gt; div{
    height: 100%;
    display: flex;
    align-items: center;
    background: #99cc00;
    text-align: center;
    justify-content: center;
  }
  
  .right &gt; div{
    -webkit-clip-path: polygon(
  0 0, 70% 0, 40% 100%, 0 100%
    );
  }
  
  .left &gt; div{
    -webkit-clip-path: polygon(
  100% 0, 70% 0, 40% 100%, 100% 100%
    );
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>  &lt;div class="left"&gt;
  &lt;div&gt;
  &lt;img src=https://dl.dropboxusercontent.com/u/7948781/mediapop.png&gt;
  &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="right"&gt;
  &lt;div&gt;
  &lt;img src=https://dl.dropboxusercontent.com/u/7948781/mediapop.png&gt;
  &lt;/div&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>