CodePen

HTML

            
              <div>
  <h2>All you base</h2>
  <h3>Are belong to us</h3>
</div>
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              body {
 padding-top: 30px;
 height: 100px;
 width: 300px;
 margin: 0 auto;  
 background-color: Moccasin;
}

div {
  text-align: center;
  background: white;
}

h2 {
  display: inline-block;
  border-top: 1px solid black;
  border-bottom: 1px solid black; 
  margin: 0 auto;
  font-size: 50px;
  text-align: center;
  margin: 10px auto;
}


h3 {
  text-align: center;
  display: inline-block;
  border-top: 1px solid black;
  border-bottom: 1px solid black; 
  margin: 0 auto;
  font-size: 10px;
  text-align: center;
  margin: 0 auto;
}

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

JS

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