After adding a margin-left to the box, I noticed that my right border is missing. You can see the issue in this example. However, when I remove the margin-left property, everything looks fine as shown in this example. Is there any way to solve this problem?
This is my CSS:
position: absolute;
border-color: grey;
border-style: solid;
z-index: 10;
width: 96%;
margin-left: 40px;
height: 52.05rem;
top: 0.3rem;