'border-color' Example : border color « CSS « HTML / CSS

HTML / CSS » CSS » border color 
'border-color' Example
    border:5px solid #cccccc; 
Move mouse in and out to see the style change.
<div style="width:230; 
     onmouseout="this.className='style2'">This is a div element.

Related examples in the same category
1.You can individually change the color of the bottom, left, top and right sides of a box's border using the properties:
2.border-color: blue
3.border-color: red;
4.border-color: black
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.