I'm trying to create a grid of square divs. This is what I tried:
HTML:
<div>A</div>
<div>B</div>
<div>C</div>
CSS:
div{
width:50vw;
height:50vw;
display:inline;
float:left;
}
(JSFiddle)
But instead of getting two columns, the divs display one below the other..
Does anyone know how to solve this? Thanks.