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 top style Property

CSS border-top-style Property

 

 

The border-top-style property is used for specifying the style of an element top border.

 

Default Value:-

 

Its default value is none.

 

Syntax:-

 

Its syntax is:- border-top-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset | initial | inherit;

 

Further Explanation:-

 

Value Description
none Specifies no border.
hidden The same as none.
dotted Specifies a dotted border
dashed Specifies a dashed border
solid Specifies a solid border
double Specifies a double border
groove Specifies a 3D grooved border.
ridge Specifies a 3D ridged border.
inset Specifies a 3D inset border.
outset Specifies a 3D outset 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