123

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <head>
  <title></title>
 <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Fredericka+the+Great" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Rock+Salt" rel="stylesheet">
</head>

<body class="body">
  <div class="container">
    <div class="row">
      <img src="https://cdn2.iconfinder.com/data/icons/maki/100/art-gallery-512.png" class="col-sm-10" id="logo" >
      <h1 class="col-sm-10" id="toptext">Art <span>Tower</span><br>
      <span>Online Art </span>Gallery</h1>
    </div>
  </div>
<hr class="hr">   
  <div class="container">
  <div class="col-sm-12">
    <img src="https://s-media-cache-ak0.pinimg.com/736x/39/a5/f3/39a5f3d5f64c3ef90b10fee124fcc0ef.jpg" class="main" style="border:50px solid black">
    </div>
  </div>
  <br>
  <h2 id="feature">Featured <span>Pieces</span></h2>
  <hr>
  
  <div class="container">
    <div class="row">
     
      <div class="col-md-4">
      <img src="https://d1lfxha3ugu3d4.cloudfront.net/exhibitions/images/2010_Abdi_Farah_farah-libation_428.jpg" id="man" style="border:30px solid black">
        <h2 id="featurelow" class="left">Modern Metro Man</h2>
        <p class="left">Brooklyn Museum</p>
        <p class="left">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean semper nunc libero, at volutpat lectus luctus in. Vivamus quam lectus, mollis et eros ornare, dapibus rhoncus tortor. Nullam id tellus ut orci tristique tempus. Aliquam erat volutpat. Suspendisse feugiat pellentesque eros a posuere. Duis tristique magna in rutrum lacinia. Etiam sollicitudin sem sed lacus vestibulum, ac aliquet ipsum finibus.</p>
      </div>
     
      <div class="col-md-4">
      <img src="https://d1lfxha3ugu3d4.cloudfront.net/exhibitions/images/2015_FAILE_3_Arcade-BK_4000W.jpg" id="arcade" style="border:30px solid black">
        <h2 id="featurelow">Arcade Room of Colors</h2>
        <p>Brooklyn Museum</p>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean semper nunc libero, at volutpat lectus luctus in. Vivamus quam lectus, mollis et eros ornare, dapibus rhoncus tortor. Nullam id tellus ut orci tristique tempus. Aliquam erat volutpat. Suspendisse feugiat pellentesque eros a posuere. Duis tristique magna in rutrum lacinia. Etiam sollicitudin sem sed lacus vestibulum, ac aliquet ipsum finibus.</p>
      </div>
      
      <div class="col-md-4">
      <img src="http://teenytee.com/image/cache/data/Products/Women10/BasquiatCrown3-550x550.jpg" id="bos" style="border:30px solid black">
        <h2 id="featurelow" class="righttext1">Basquiat</h2>
        <p class="righttext">Brooklyn Museum</p>
        <p class="righttext">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean semper nunc libero, at volutpat lectus luctus in. Vivamus quam lectus, mollis et eros ornare, dapibus rhoncus tortor. Nullam id tellus ut orci tristique tempus. Aliquam erat volutpat. Suspendisse feugiat pellentesque eros a posuere. Duis tristique magna in rutrum lacinia. Etiam sollicitudin sem sed lacus vestibulum, ac aliquet ipsum finibus.</p>
   
    </div>
  </div>
  </div>
  </div>
  <hr>
<p class="foot">&copyiCH2017</p>
 </body>

            
          
!
            
              .body{
background-color:darkred;
overflow: auto;
}
#logo{
  width:16%;
}
h1{
  text-align:right;
}
#toptext{
font-family: 'Fredericka the Great', cursive;
font-size: 50px;
color:black;
}
.hr{
   border-color:black;
   border-width:1px;
}
.main{
  width:100%;
  padding:30px;
 }
#feature{
  font-family: 'Fredericka the Great', cursive;
 font-size: 40px;
 color:black;
}
#man{
  max-width:100%;
  max-height:100%;
  padding:20px;
  position:relative; 
  right:130px;
  
}
#arcade{
  max-width:100%;
  max-height:100%;
  padding:10px;
}
#bos{
  max-width:100%;
  max-height:100%;
  width:250px;
  position:relative; 
  left:130px;
  padding:9px;

  
}
#featurelow{
 text-align:center;
 font-family: 'Fredericka the Great', cursive;
 font-size: 40px;
 color:black;
}
p{
  text-align:center;
  font-family: 'Fredericka the Great', cursive;
  color:white;
  }
.right{
  position:relative; 
  left:80px;
}
.left{
  position:relative; 
  right:130px;
}
span{
color:white;
}
.foot{
text-align:right;
font-family: 'Rock Salt', cursive;
color:black;
font-weight: bold; 
}
.righttext{
  position:relative; 
  left:80px;
  margin:10px;
  top:50px;
}
.righttext1{
  position:relative; 
  left:80px;
  margin:10px;
  top:30px;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console