Set CSS Border Color for edges - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Color

Description

Set CSS Border Color for edges

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

.border {
   border-top: 100px solid #ccc;
   border-left: 100px solid #06f;
}


      </style> 
 </head> <!--from w ww .  jav  a  2s  .c om-->
 <body> 
  <div class="border">
    test 
  </div>  
 </body>
</html>

Related Tutorials