272
CSS Properties and Values
Web Design with HTML and CSS Digital Classroom
border-top border-
right border-bottom
border-left
[ <border-width> ||
<border-style> ||
border-top-color ]
| inherit
see individual properties
border-top-color
border-right-color
border-bottom-color
border-left-color
<color> |
transparent |
inherit
the value of the color
property
border-top-style
border-right-style
border-bottom-style
border-left-style
<border-style> |
inherit
none
border-top-width
border-right-width
border-bottom-width
border-left-width
<border-width> |
inherit
medium
border-width <border-width>{1,4}
| inherit
see individual properties
border [ <border-width> ||
<border-style> ||
border-top-color ]
| inherit
see individual properties
bottom <length> |
<percentage> | auto
| inherit
auto
clear none | left | right
| both | inherit
none
clip <shape> | auto |
inherit
auto
color <color> | inherit depends on user agent
display inline | block |
list-item | run-
in | inline-block
| table | inline-
table | table-row-
group | table-
header-group |
table-footer-group
| table-row |
table-column-group
| table-column |
table-cell | table-
caption | none |
inherit
inline
fl oat left | right | none
| inherit
none