HTML and CSS Reference
In-Depth Information
Table D-4 Background and Color Properties (Continued)
Property Name
Description
Values
background-repeat
Sets if/how a background image will be repeated
repeat
repeat-x
repeat-y
no-repeat
inherit
background-size
Specifies the size of the background images
new
Border Properties
Table D-5 Border Properties
Property Name
Description
Values
border
Set all the border properties in one declaration
border-color
Shorthand property for setting the color of the four borders
in one declaration; can have from one to four colors
[color]
transparent
border-bottom-color
border-left-color
border-right-color
border-top-color
Sets the respective color of the top, right, bottom, and left
borders individually
[color]
border-image
A shorthand property for setting all the border-image- n
properties
new
border-image-outset
Specifies the amount by which the border image area
extends beyond the border box
[length]
[number]
new
border-image-repeat
Specifies whether the image-border should be repeated,
rounded, or stretched
stretch
repeat
round
new
border-image-slice
Specifies the inward offsets of the image-border
[number]
[percentage]
ill
new
border-image-source
Specifies an image to be used as a border
none
[image]
new
border-image-width
Specifies the widths of the image-border
[number]
[percentage]
auto
new
border-radius
A shorthand property for setting all the four border- n -radius
properties
new
border-bottom-left-radius
border-bottom-right-radius
border-top-left-radius
border-top-right-radius
Sets the shape of the border of the bottom-left,
bottom-right, top-left, and top-right corners individually
[percentage]
[length]
new
new
new
new
border-style
Shorthand property for setting the style of the four borders
in one declaration; can have from one to four styles
none
dashed
dotted
double
groove
inset
outset
ridge
solid
Search WWH ::




Custom Search