BORDER-COLOR Property In CSS

border-color Property in CSS

border-color property Declares the border color of all four borders at once.

Possible Value:

Valid color names, RGB values, hexidecimal notation, or the predefined value transparent. 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

Example

div { border-color:green red blue olive; } div { border-color:green; } div { border-color:green red; } div { border-color:green red blue; }

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad