title: Recreate Skew effect with only CSS
body: <p>I am trying to recreate the image bellow:</p>
  <p><a href="https://i.stack.imgur.com/HPJDg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HPJDg.jpg" alt="enter image description here" /></a></p>
  <p>I beginning to study linear gradient rules. Could you help me to replicate this skewed shapes?</p>
  <p>This is what Ive been done so far:</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> 
  .main_2 {
    width: 1000px;
    height: 600px;
  
    background-color: white;
    border: 1px solid red;
  
    display: flex;
    position: relative;
  }
  
  .container_2 h1 {
    position: absolute;
    top: 220px;
    left: 250px;
    right: 50%;
    border: 1px solid seagreen;
    width: 500px;
  
    color: white;
  }
  
  .one,
  .two,
  .three {
    position: relative;
  
    flex-grow: 1;
  }
  
  .one {
    background-color: #253cc3;
    background-image: linear-gradient(
      135deg,
      #253cc3 0%,
      #3745cb 50%,
      #2300ff 100%
    );
  }
  .two {
    background-color: #253cc3;
    background-image: linear-gradient(
      135deg,
      #253cc3 0%,
      #3745cb 50%,
      #2300ff 100%
    );
  }
  .three {
    background-color: #253cc3;
    background-image: linear-gradient(
      135deg,
      #253cc3 0%,
      #3745cb 50%,
      #2300ff 100%
    );
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container_2"&gt;
    &lt;div class="main_2"&gt;
      &lt;div class="one"&gt;&lt;/div&gt;
      &lt;div class="two"&gt;&lt;/div&gt;
      &lt;div class="three"&gt;&lt;/div&gt;
      &lt;h1&gt;
        Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quae,
        facere!
      &lt;/h1&gt;        
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Am I doing this the right way? The best practice is to create div's and try to create the shapes inside them?</p>
  <p>Many many thanks guys</p>