I want no space between red rectangles, so I checked that all related properties are zero: margin, padding and border. But there is still space. Why? How can I fix it?
.outer {
height: 100px;
width: 600px;
background-color: grey;
}
.bar {
background-color: red;
height: 20px;
width: 45%;
display: inline-block;
margin-top: 20px;
}
<div class="outer">
<span></span>
<div class="bar"></div>
<div class="bar"></div>
</div>