CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS border bottom Property

CSS border-bottom Property

 

 

The border-bottom property is used to make a bottom border of an element. It is a shorthand property for:-

  1. border-bottom-width
  2. border-bottom-style
  3. border-bottom-color

 

Syntax:-

 

Its syntax is:- border-bottom: border-width border-style border-color | initial | inherit;

 

Further Explanation:-

 

Value Description
border-bottom-width Specifies the width of the bottom border.
border-bottom-style Specifies the style of the bottom border.
border-bottom-color Specifies the color of the bottom border.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS