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

Border-style

Határ típusai
Sorrend: felső, jobb, alsó, bal.

Declares the border style of all four borders at once.
Lehetséges értékek:
none (semmi; alapértelmezett)
dotted (pontozott)
dashed (szaggatott)
solid (sima vonal)
double (dupla vonal)
3-dimenziós kerettípusok paraméterei: groove, ridge, inset, outset, window-inset, hidden
none
hidden
dotted
dashed
solid
double
groove
ridge
inset
outset

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

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

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

div { border-style:solid dotted dashed double; }

div { border-style:solid; }

div { border-style:solid dotted; }

div { border-style:solid dotted dashed; }


border-style: dotted double dashed groove;
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-width border

Border-style CSS tulajdonságok, referencia

Webdesign