Hello
CODE 1 : [https://codepen.io/anon/pen/xNQXaQ](http://variable height) (For variable height)
Here the height of container depends on the number of div’s in it.
I want to replicate this for variable width and fixed heigtht. even 20 divs acquire the whole width.
I believe this is because div is a block element
My attempt for variable width is in code 2
CODE 2 : [https://codepen.io/anon/pen/YbRrYb](http://variable width)