<DOCTYPE html>
<html>
  <head>
    <link href="style.css" rel="stylesheet" type="text/css">
  
  </head>
  
  <body>
    
 <div class="bigbox"> 
     <div class = "container">
     	<h1>codecademy is awesome</h1>
     </div>
     <h1>borders, margins, etc.</h1>
 </div>
   

 
  </body>
</html>
.bigbox {
  background-color: tomato;
  border: 4px solid black;
  height: 300px;
}

.container{
  height: 100px;
  border: 5px dashed yellow;
  margin: auto;
  background-color: cyan;
  overflow:hidden;
}

h1{
  text-align: center;
  color: black;
  border: 5px dashed lightgray;
  margin-top: 10px;
  margin-bottom: 50px;
  margin-left: 10px;
  margin-right: 50px;
  }
Forked from by xXx
0 forks
63 views

Browse more Codebits