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






'border-bottom-color' Example

 
    
<html>
<head>
<style>
.style1 { 
    border:5px solid #cccccc; 
    border-bottom-color:red; 
    font-family:verdana; 
    font-weight:bold
}
.style2 { 
    border:"none"; 
    border-bottom-color:blue; 
    font-family:verdana; 
    font-weight:normal 
}
</style>
</head>
<body>
<div id="myL" 
     style="width:500; 
            height:500; 
            background-color:beige"
            onmouseover="this.className='style1'"
            onmouseout="this.className='style2'">This is a div element.
</div>
</body></html>

    
      
        
  








Related examples in the same category

1.Set border bottom color to black