Adjustment of Border in CSS - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Border

Description

Adjustment of Border in CSS

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">
.outer<!--from   www .j  a  va  2 s  . c  om-->
 {
   background-color:Chartreuse;
   padding:21px;
   width:201px;
}

.inner
 {
   border:2px solid yellow;
   height:151px;
   color:blue;
}
</style> 
 </head> 
 <body> 
  <div class="outer"> 
   <div class="inner">
     text 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials