Keret jellemzői: border-width CSS jellemző tulajdonságai

Border-width

Elem határai
Sorrend: felső, jobb, alsó, bal.

Declares the width of all four borders at once.
Lehetséges értékek:
thin (vékony)
medium (közepes)
thick (vastag)
szám/mértékegység
Lengths or the following predefined values:

thin
medium
thick

Undeclared values work as further shorthand notation. If only one width value is declared, all four borders will use that width. If two widths are declared, the top and bottom borders will use the first width while the right and left borders will use the second width. If three widths are declared, the top border will use the first width, the right and left borders will use the second width, and the bottom border will use the third width.

<border-width>{1,4} | inherit

Border-width minták, példák:

div { border-width:1px 3px 5px 2px; }

div { border-width:thin; }

div { border-width:2px 4px; }

div { border-width:2px 4px 5px; }


border-width: 1cm thick 1cm thin;
Alapértelmezett érték: nincs
Öröklődő tulajdonság: nem
Media besorolás: visual
Csoport besorolás: keret jellemzői

Kompatibilitás: CSS 1, CSS 2, CSS 2.1, CSS 3,

További keret jellemzői:

border-top-color border-top-style border-top-width border-top border-right-color border-right-style border-right-width border-right border-bottom-color border-bottom-style border-bottom-width border-bottom border-left-color border-left-style border-left-width border-left border-color border-style border

Border-width CSS tulajdonságok, referencia

Webdesign