CSS borderbottomstyle Property (original) (raw)

CSS border-bottom-style Property

Last Updated : 11 May, 2026

The border-bottom-style property in CSS is used to define the style of the bottom border of an element. It controls how the bottom border is displayed, such as solid, dotted, or dashed.

**Syntax:

border-bottom-style: none|hidden|dotted|dashed|
solid|double|groove|ridge|inset|
outset|initial|inherit;

**Property Values:

**Example: Here, we are using border-style; none; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property for border-bottom-style */
        border-bottom-style: none;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: hidden; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property for border-bottom-style */
        border-bottom-style: hidden;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: dotted; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property for border-bottom-style */
        border-bottom-style: dotted;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: dashed; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property for border-bottom-style */
        border-bottom-style: dashed;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: solid; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property for border-bottom-style */
        border-bottom-style: solid;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: double; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property for border-bottom-style */
        border-bottom-style: double;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: groove; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        border: 10px;
        border-style: solid;

        /* CSS Property for border-bottom-style */
        border-bottom-style: groove;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: inset; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        border: 10px;
        border-style: solid;

        /* CSS Property for border-bottom-style */
        border-bottom-style: inset;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: outset; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        border: 10px;
        border-style: solid;

        /* CSS Property for border-bottom-style */
        border-bottom-style: outset;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: initial; property.

html `

CSS border-bottom-style property
<!-- Internal CSS Style Sheet -->
<style>
    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property for border-bottom-style */
        border-bottom-style: initial;
    }
</style>

GeeksForGeeks

`

**Output:

**Example: Here, we are using border-style: inherit; property.

html `

CSS border-bottom-style Property
<!-- Internal CSS Style Sheet -->
<style>
    div {
        border-bottom-style: double;
    }

    h1 {
        color: green;
        text-align: center;
        border: 5px solid black;

        /* CSS Property | border-bottom-style */
        border-bottom-style: inherit;
    }
</style>
    <!-- border-bottom-style: inherit; -->
    <h1>GeeksForGeeks</h1>
</div>

`

**Output: