Related Articles

Related Articles

CSS | border-inline-end-width Property
  • Last Updated : 27 Mar, 2020

The border-inline-end-width property in CSS is used to define the individual logical inline-end border property values in a single place in the style sheet. This property sets the border-width at the bottom of the defining element border.

Syntax:

border-inline-end-width: border-width;

Property values:

  • border-width: This property holds the width of the border.

Below examples illustrate the border-inline-end-width property in the CSS:

Example 1:



filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html>
<html>
   
<head>
    <title>CSS | border-inline-end-width Property</title>
    <style>
        h1 {
            color: green;
        }
           
        div {
            background-color: yellow;
            width: 220px;
            height: 40px;
        }
        .one {
            border: 5px solid gray;
            border-inline-end-width: 8px;
            background-color: purple;
        }
    </style>
</head>
   
<body>
    <center>
        <h1>Geeksforgeeks</h1>
        <b>CSS | border-inline-end-width Property</b>
        <br><br>
        <div class="one">A Computer Science Portal</div>
    </center>
</body>
   
</html>

chevron_right


Output:

Example 2:

filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html>
<html>
   
<head>
    <title>CSS | border-inline-end-width Property</title>
    <style>
        h1 {
            color: green;
        }
           
        div {
            background-color: yellow;
            width: 220px;
            height: 40px;
        }
        .one {
            border: 5px solid black;
            border-inline-end-width: 2px;
            background-color: purple;
        }
    </style>
</head>
   
<body>
    <center>
        <h1>Geeksforgeeks</h1>
        <b>CSS | border-inline-end-width Property</b>
        <br><br>
        <div class="one">A Computer Science Portal</div>
    </center>
</body>
   
</html>

chevron_right


Output:

Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-end-width

Supported Browsers: The browsers supported by border-inline-end-width property are listed below:

  • Firefox
  • Opera
  • Edge



My Personal Notes arrow_drop_up
Recommended Articles
Page :