Saturday, 8 April 2017

css border

CSS Border

All CSS Border Properties

The number in the "CSS" column indicates in which CSS version the property is defined (CSS1 or CSS2).
Property
Description
Values
border
Sets all the border properties in one declaration
border-width
border-style
border-color
border-bottom
Sets all the bottom border properties in one declaration
border-bottom-width
border-bottom-style
border-bottom-color
border-bottom-color
Sets the color of the bottom border
border-color
border-bottom-style
Sets the style of the bottom border
border-style
border-bottom-width
Sets the width of the bottom border
border-width
border-color
Sets the color of the four borders
color_name
hex_number
rgb_number
transparent
inherit
border-left
Sets all the left border properties in one declaration
border-left-width
border-left-style
border-left-color
border-left-color
Sets the color of the left border
border-color
border-left-style
Sets the style of the left border
border-style
border-left-width
Sets the width of the left border
border-width
border-right
Sets all the right border properties in one declaration
border-right-width
border-right-style
border-right-color
border-right-color
Sets the color of the right border
border-color
border-right-style
Sets the style of the right border
border-style
border-right-width
Sets the width of the right border
border-width
border-style
Sets the style of the four borders
none
hidden
dotted
dashed
solid
double
groove
ridge
inset
outset
inherit
border-top
Sets all the top border properties in one declaration
border-top-width
border-top-style
border-top-color
border-top-color
Sets the color of the top border
border-color
border-top-style
Sets the style of the top border
border-style
border-top-width
Sets the width of the top border
border-width
border-width
Sets the width of the four borders
thin
medium
thick
length
inherit

Border - Shorthand property

border:5px solid red;

No comments:

Post a Comment

Please write your view and suggestion....