CSS border-end-start-radius
The border-end-start-radius property is used to define the shape of the rounded border on the start and end sides of an element. This property is a shorthand for border-end-start-radius-top-left, border-end-start-radius-top-right, border-end-start-radius-bottom-right, and border-end-start-radius-bottom-left.
The values for border-end-start-radius can be either a length value (such as px, em, rem) or a percentage value.
Let's see an example to understand how border-end-start-radius works:
In the example above, we have created a div element with a border that has been styled using the border-end-start-radius property set to 20px. This creates rounded corners on the start and end sides of the element.
Now let's look at the code for this example:
<div style="border: 2px solid black; padding: 20px; border-end-start-radius: 20px;">
This is a div element with rounded border on the start and end sides.
</div>
Here's how the code above looks when rendered in HTML:
As you can see, the border-end-start-radius property allows you to create rounded corners on the start and end sides of an element, giving it a more visually appealing look.