Open In App

CSS | border-end-start-radius Property

Last Updated : 12 Jul, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

The border-end-start-radius property in CSS is used to specify the logical border-radius at the block-start border. It is adjustable with the element’s writing-mode, direction, and text-orientation

Syntax:

border-end-start-radius: length | percentage;

Default Value : Its default value is 0. 

Property values:

  • length: This property holds the border radius length in a specific unit.
  • percentage: This property holds the percentage value compare to parent elements.

Below examples illustrate the border-end-start-radius property in CSS:

Example 1:

HTML




<!DOCTYPE html>
<html>
   
<head>
    <title>CSS | border-end-start-radius Property</title>
    <style>
        h1 {
            color: green;
        }
           
        div {
            background-color: purple;
            width: 250px;
            height: 50px;
        }
        .one {
            background-color: yellow;
            border-end-start-radius: 10px;
        }
    </style>
</head>
   
<body>
    <center>
        <h1>Geeksforgeeks</h1>
        <b>CSS | border-end-start-radius Property</b>
        <br><br>
        <div>
            <p class="one">A Computer Science Portal</p>
 
 
 
        </div>
    </center>
</body>
   
</html>


Output:

Example 2:

HTML




<!DOCTYPE html>
<html>
   
<head>
    <title>CSS | border-end-start-radius Property</title>
    <style>
        h1 {
            color: green;
        }
           
        div {
            background-color: purple;
            width: 250px;
            height: 50px;
        }
        .one {
            background-color: yellow;
            border-end-start-radius: 50%;
        }
    </style>
</head>
   
<body>
    <center>
        <h1>Geeksforgeeks</h1>
        <b>CSS | border-end-start-radius Property</b>
        <br><br>
        <div>
            <p class="one">A Computer Science Portal</p>
 
 
 
        </div>
    </center>
</body>
   
</html>


Output:

Supported Browsers: The browsers supported by border-end-start-radius property are listed below:

  • Google Chrome 89 and above
  • Edge 89 and above
  • Firefox 66 and above
  • Opera 75 and above
  • Safari 15 and above
  • Internet Explorer not supported

 



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads