0% found this document useful (0 votes)
15 views

Css Border

This document discusses CSS border properties and styles. It explains that CSS borders allow you to specify an element's border style, width, and color. Some common border styles include dotted, dashed, solid, double, groove, ridge, inset, and outset. The border-style property can define individual styles for an element's top, right, bottom and left borders.

Uploaded by

Alex Mociran
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Css Border

This document discusses CSS border properties and styles. It explains that CSS borders allow you to specify an element's border style, width, and color. Some common border styles include dotted, dashed, solid, double, groove, ridge, inset, and outset. The border-style property can define individual styles for an element's top, right, bottom and left borders.

Uploaded by

Alex Mociran
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

CSS Borders

CSS Border Properties


The CSS border properties allow you to specify the style, width, and color of an
element's border.
I have borders on all sides.

I have a red bottom border

I have rounded borders.

I have a blue left border.

Border Style
The border-style property specifies what kind of border to display.
The following values are allowed:

dotted - Defines a dotted border

dashed - Defines a dashed border

solid - Defines a solid border

double - Defines a double border

groove - Defines a 3D grooved border. The effect depends on the border-

color value

ridge - Defines a 3D ridged border. The effect depends on the border-

color value

inset - Defines a 3D inset border. The effect depends on the border-color

value

outset - Defines a 3D outset border. The effect depends on the border-

color value

none - Defines no border

hidden - Defines a hidden border

The border-style property can have from one to four values (for the top border,
right border, bottom border, and the left border).

You might also like