Is there a way to achieve a div element with curved borders and a straight bottom border? Currently, when applying a border radius, the radius is also visible on the bottom border as shown in the image below.
https://i.sstatic.net/JH75y.png
This is my current CSS snippet:
.post-list {
margin-bottom: 10px;
border-top-color: transparent;
border-right-color: transparent;
border-left-color: transparent;
background: rgb(36, 27, 29);
padding: 1rem 0;
padding-left: 10px;
margin-left: 0px;
border-bottom: 1px solid rgb(23, 9, 9);
box-sizing: border-box;
border-radius: 6px;
}
I am looking for a solution that will give me a straight bottom border while maintaining curved borders for the rest of the div. Any suggestions on how to achieve this?