Can´t set border radius on one side and a regular border on the opposite side

Can´t set border radius on one side and a regular border on the opposite side

For some reason, my regular semi-transparent right border doesn´t work on the element which has border-radius on the left and bottom sides. How can I fix it?

For some reason, my regular semi-transparent right border doesn´t work on the element which has border-radius on the left and bottom sides. How can I fix it?

See snippet and 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>


Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

The Ultimate Guide to Web Development with HTML and CSS

The Ultimate Guide to Web Development with HTML and CSS. Learn Web Development by creating a Blog with HTML and CSS. Make a web applications using HTML5 and CSS3. Create a blog from Scratch.

Animate Any SVG icons with CSS Only | SVG Stroke Animation With Html CSS

Animate Any SVG icons with CSS Only | SVG Stroke Animation With Html CSS

HTML 5 Tutorial: How to create a table using HTML tags and Stylesheet (CSS)

In this article, we want to show you how to create a table using HTML tags and Stylesheet (CSS). HTML table may vary depends on data and style requirements. Sometimes, in the real application, we use an HTML table as a layout of the Email template in HTML format.