Keret jellemzői: border-color CSS jellemző tulajdonságai
Separate the color for each border by a space, declaring the colors for the borders in the following order:
border-top-color
border-right-color
border-bottom-color
border-left-color
Undeclared values work as further shorthand notation. If only one color value is declared, all four borders will use that color. If two colors are declared, the top and bottom borders will use the first color while the right and left borders will use the second color. If three colors are declared, the top border will use the first color, the right and left borders will use the second color, and the bottom border will use the third color.
div { border-color:green; }
div { border-color:green red; }
div { border-color:green red blue; }
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,