CSS Border Style
Css border is a border around the content.
In CSS Style border we have three properties of a border you can change:
The border-color: specifies the color of a border.
The border-style: specifies whether a border should be solid, dashed line, double line, or one of the other possible values.
The border-width: specifies the width of a border.
The CSS edges will be staged with the border-style attribute helper with the following values:
- none
- solid
- dotted
- dashed
- double
- groove
- ridge
- inset
- outset
The border-style property can have from one to four values (for the top border, right border, bottom border, and the left border).
CSS - Border Width
The thickness boder in CSS is determined by the width-border attribute. This attribute will not work unless the border style attribute is specified in advance. We will use pixel measurement units or we can put the thin, medium or thick values.
Example:
border-style: solid;
border-width: 5px;
}
.div_example-two {
border-style: solid;
border-width: medium;
}
.div_example-three {
border-style: solid;
border-width: 2px 10px 4px 20px;
}
CSS Border Color
The color of the borders will be specified by the border-color attribute in the hexadecimal system, RGB, or simply by naming the colors. Note that it can be established that the border is transparent when needed.
The color can be set by:
name - specify a color name, like "red"
Hex - specify a hex value, like "#ff0000"
RGB - specify a RGB value, like "rgb(255,0,0)"
transparent Example:
border-style: solid;
border-color: red;
}
div_example-two {
border-style: solid;
border-color: green;
}
div_example-three {
border-style: solid;
border-color: red green blue yellow;
}
CSS Border - Individual Sides
In CSS, there are properties for specifying each of the borders as: top, right, bottom, and left and it is possible to specify a different border for each side
Example:
border-top-style: dashed;
border-right-style: dotted;
border-bottom-style: solid;
border-left-style: double;
}
CSS Border Style, CSS - Border Width, CSS Border Color, CSS Border - Individual Sides
CSS Border Style Width and Color - css tutorial
This tool makes it easy to create, adjust, and experiment with custom colors for the web.

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.

Find here examples of creative and unique website layouts.

Find here examples of creative and unique website CSS HTML menu.