Example
A simple border-top-style property example:
Laboratory
description & Usage
We determine the style and mode of the top border with the border-top-style property.
Browser compatibility and Support
# |
Chrome |
Edge |
Firefox |
Safari |
Opera |
border-top-style |
|
|
|
|
|
Values
Values |
Description |
none
|
It does not form any margin.
|
hidden
|
It forms a hidden border that is not visible.
|
dotted
|
A dot border forms a dot.
|
dashed
|
یک حاشیه ای با خط های جدا شده از هم تشکیل می دهد.
|
solid
|
It forms a border with a smooth line.
|
double
|
It forms a double border.
|
groove
|
Forms a grooved 3D border.
|
ridge
|
Forms a 3D lined border.
|
inset
|
Forms a 3D border inside the range.
|
outset
|
Forms a 3D border outside the beginning of the range.
|
initial
|
Adds this value to its default property.
|
inherit
|
It inherits this value from its parent tag.
|