So I have this jsfiddle:
https://jsfiddle.net/ionescho/4d07k799/4/
HTML:
<div class='container'>
<div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div><div class="row"></div>
</div>
CSS:
.container{
line-height:0;
width:100%;
}
.row{
height:100px; /* <--- try putting 100.66px here or some other fractional pixel value*/
width:100.232323px;
display:inline-block;
background-color:red;
border-bottom:1px solid black;
border-right:1px solid black;
line-height:0;
}
IF I apply a height of 100px to the class .row, I can see the border-bottom. If I apply a non-integer value to height( ex: 100.66px ), it disappears. Other times ( ex height: 100.22px ) it shows.
Is there a way to fix this? If for example I have a height expressed in percentage, it may resolve to a non-integer pixel height and then I will not see the border-bottom.
UPDATE: this happens only on CHROME!