I am trying to create a layout of divs similar to the one shown in the image: https://i.sstatic.net/DLUe8.png The challenge I am facing is that I need to arrange them in a row, with one large div in the center and four smaller divs on the sides. I am planning to use jQuery for this, which is why I cannot assign individual CSS to each of the 5 divs.
Here is my current code snippet: https://jsfiddle.net/kys2qzne/
<div class="grid-all" >
<div class="grid-item" style=" background-color: blue;"></div>
<div class="grid-item" style=" background-color: yellow;"></div>
<div class="grid-item height2" style="clear: both;"></div>
<div class="grid-item" style=" background-color: green;"></div>
<div class="grid-item" style=" background-color: black;"></div>
</div>