CodePen

HTML

            
              <div class="wrapper">

</div>

<div class="wrapper box-model">

</div>
            
          
!
via HTML Inspector

CSS

            
              .wrapper {
  width:1024px;
  margin:15px auto;
  height:50px;
  background:green;
  padding:0 38px;
}

.box-model {
  background:red;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
}


            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................