Open In App

CSS | border-inline-end-style Property

Last Updated : 27 Mar, 2020
Summarize
Comments
Improve
Suggest changes
Share
Like Article
Like
Report
The border-inline-end-style 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-style at the bottom of the defining element border. Syntax:
border-inline-end-style: border-style;
Property values:
  • border-style: This property holds the style of the border.
Below examples illustrate the border-inline-end-style property in the CSS: Example 1: html
<!DOCTYPE html>
<html>
 
<head>
    <title>CSS | border-inline-end-style Property</title>
    <style>
        h1 {
            color: green;
        }
         
        div {
            background-color: yellow;
            width: 220px;
            height: 40px;
        }
        .one {
            border: 5px solid gray;
            border-inline-end-style: dotted;
            background-color: purple;
        }
    </style>
</head>
 
<body>
    <center>
        <h1>Geeksforgeeks</h1>
        <b>CSS | border-inline-end-style Property</b>
        <br><br>
        <div class="one">A Computer Science Portal</div>
    </center>
</body>
 
</html>
Output: Example 2: html
<!DOCTYPE html>
<html>
 
<head>
    <title>CSS | border-inline-end-style Property</title>
    <style>
        h1 {
            color: green;
        }
         
        div {
            background-color: yellow;
            width: 220px;
            height: 40px;
        }
        .one {
            border: 5px solid black;
            border-inline-end-style: dashed;
            background-color: purple;
        }
    </style>
</head>
 
<body>
    <center>
        <h1>Geeksforgeeks</h1>
        <b>CSS | border-inline-end-style Property</b>
        <br><br>
        <div class="one">A Computer Science Portal</div>
    </center>
</body>
 
</html>
Output: Supported Browsers: The browsers supported by border-inline-end-style property are listed below:
  • Firefox
  • Opera
  • Edge
Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/border-inline-end-color

Similar Reads