Add a border-bottom to each line of a DIV - HTML CSS CSS Property

HTML CSS examples for CSS Property:border-bottom

Description

Add a border-bottom to each line of a DIV

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">

div {<!-- w  w w  . java  2s. com-->
   border-bottom: 4px dotted red;
   display:inline;
}


      </style> 
 </head> 
 <body> 
  <div>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 
  </div>  
 </body>
</html>

Related Tutorials