B.12. border-bottom-color, border-left-color, border-right-color, border-top-color

Each of these properties sets the color of the border along one side of an element.

Inherited: No

See also: Section B.16border-color

B.12.1. Value

Any CSS color value (see Appendix D).

Initial value: none

B.12.2. Compatibility

CSS Version: 2

Works in all CSS-compatible browsers, with exception of Netscape 4.

B.12.3. Example

p.funky {
  border-style: solid;
  border-top-color: blue;
  border-right-color: yellow;
  border-bottom-color: #ff0000;
  border-left-color: #0f0;
}

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.59.187