5
I write something in one of the <div>
and it changes position. Because?
Here this happening: http://codepen.io/anon/pen/JHIjB
HTML:
<div class = "wrap1">
<div>algo</div>
<div></div>
<div></div>
<div></div>
</div>
CSS:
*{
box-sizing: border-box;
}
body,html{
height:100%;
margin:0;
padding:0;
}
.wrap1{
min-height:100%;
background: #e1e1e1;
}
.wrap1 div{
min-width: 45%;
height:300px;
min-height:50%;
margin: 10px;
display:inline-block;
padding: 10px;
border: 1px solid black;
background: #b0bec5;
position:relative;
}
why I don’t know, since I don’t handle CSS, but by adding a position:Bsolute interestingly worked here, look at this patch I made: http://codepen.io/anon/pen/AmaDd
– Olimon F.
Please put your code here. If codepen disappears the question will not make sense.
– brasofilo