Check Border Meeting point - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border Style

Description

Check Border Meeting point

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style type="text/css">

p {<!--from w  w w . j  ava 2 s .com-->
   position: relative;
   border-top:10px solid red;
   border-bottom-style:dotted;
   border-left-style:none;
}
p:before {
   content: '';
   display: block;
   width: 10px;
   position: absolute;
   top: -10px; 
   bottom: 0;
   background: blue;
}


      </style> 
 </head> 
 <body> 
  <p>2 different border styles.</p>  
 </body>
</html>

Related Tutorials