I write something in one of <div>
and it changes position. Why?
Here's what's happening: link
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;
}