Change Thickness of underline with border-bottom - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border

Description

Change Thickness of underline with border-bottom

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style type="text/css">
h1 {<!-- w  w  w .  j  a va 2 s. co  m-->
   border-bottom:4px solid Chartreuse;
   display:inline;
}
</style> 
 </head> 
 <body> 
  <div> 
   <h1>Hello, world</h1> 
  </div>  
 </body>
</html>

Related Tutorials