I'm trying to create a grid of responsive squares without js. I came across this great solution:
Now I'm trying to put that grid into a container div, so that the width/height of each square will be derived from the container's width/height- with no luck- the squares seem to be overflow the container, as can be seen here:
https://jsfiddle.net/MpXYr/593/
<div style="height:50px;background:blue"><!--sqaures--></div>
What am I missing?