I'm having an issue with the right border not displaying correctly on an element that has border-radius settings on the left and bottom sides. How can I resolve this?
Take a look at the code snippet on CodePen
:
body {
background: red;
}
.item {
margin-left: 10px;
}
.box {
border-right: 1px solid rgba(0, 0, 0, 0.3);
line-height: 10px;
margin-left: -5px;
display: inline-block;
width: 300px;
background: white;
}
.border {
border-right: 1px solid rgba(0, 0, 0, 0.3);
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
<div id="container">
<div class="box border">
<p class="item"> Origen</p>
<p class="item"> Buenos Aires</p>
</div>
<div class="box">
<p class="item"> Origen</p>
<p class="item"> Buenos Aires</p>
</div>
<div class="box">
<p class="item"> Origen</p>
<p class="item"> Buenos Aires</p>
</div>
</div>