title: Child take width % from parents parent
body: <p>Is the following result possible with CSS: <img src="https://puu.sh/eq5yD/9643385694.png" alt=""></p>
  
  <p>So that li.item takes 50% of the width of div.wrapper, not the ul.list (which is extremly long).
  I've added a snippet of a basic setup. Any ideas on the matter are appreciated (please keep in mind I'm looking for CSS options). A jsfiddle playground link: <a href="http://jsfiddle.net/6o8t9t8L/" rel="nofollow noreferrer">http://jsfiddle.net/6o8t9t8L/</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.wrapper {
      width: 400px;
      overflow-y: hidden;
      overflow-x: scroll;
      border: 1px solid black;
  }
  .list {
      list-style-type: none;
      border: 1px solid red;
      width: 2000px;
  }
  .item {
      display: inline-block;
      height: 200px;
      width: 50%;
      border: 1px solid green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
      &lt;ul class="list"&gt;
          &lt;li class="item"&gt;&lt;/li&gt;
          &lt;li class="item"&gt;&lt;/li&gt;
          &lt;li class="item"&gt;&lt;/li&gt;
          &lt;li class="item"&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>