Add a rounded border to content - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border

Description

Add a rounded border to content

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">
body, html {
   height:100%
}

.content {<!--from w w w.j  a  v  a 2s.co m-->
   height:100%
}
</style> 
 </head> 
 <body> 
  <div class="content" style="background: blue; border-radius: 8px;">
    test test test test test test test 
  </div>  
 </body>
</html>

Related Tutorials