Pen Settings

HTML

CSS

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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html>
  <head>
    <title>TomorrowWorld</title>
  </head>
  <body>
    <div class="container">
      <div class="content">
        <div class="row">
          <div class="col-xs-12">
<h1>TomorrowWorld: Never Forgotten</h1>
    <h2>The festival that started it all</h2>
            <div class="img-thumbnail">
              <img src="http://res.cloudinary.com/kenziedare/image/upload/v1497522854/IMG_9789_x8vyoi.jpg" class="img-thumbnail" alt="TomorrowWorld Main Stage">
                <div class="caption">TomorrowWorld 2015 Main Stage</div>
                </div>
              
            <div class="col-xs-12">
    <p>Some of the best times were had on the land of Chattahoochie Hills, GA. Being the first music festival for a group of friends, excitement and good vibes filled the air in the car en route to the festival. TomorrowWorld was the U.S. version of the legendary TomorrowLand festival in Belgium. With TomorrowLand being so far away, and TomorrowWorld being just a few hours drive south, it seemed like the perfect way to get the music festival experience that didn't break the bank. Some of the girls had never even listened to much EDM, but that didn't matter. The only worry in the world was deciding which stage they would meander to next.</p>
            
            <h4>Notable DJs included:</h4>
              
<div class="list">
    <ul>
      <li>Skrillex</li>
      <li>Steve Aoki</li>
      <li>Tiesto</li>
      <li>Cash Cash</li>
      <li>Bassnectar</li>
      <li>Nervo</li>
      <li>Kaskade</li>
      <li>Martin Garrix</li>
      <li>Zedd</li>
    </ul>
              </div>
              
    <p class="tw">If you want to find out more about TomorrowWorld, <a href="http://www.tomorrowworld.com/" target="_blank"> click here</a>.</p>
      
    </div>
          </div>
        </div>
      </div>
    </div>
    
  </body>
</html>
              
            
!

CSS

              
                body {
  background-color: black;
  font-family: "Georgia", serif;
  color: white;
  margin-right: 30px;
  margin-left: 30px;
  margin-bottom: 30px;
  margin-top: 40px;
}

html{
  display: block;
}

.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.content {
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  background-color: black;
}

.row {
  margin-right: -15px;
  margin-left: -15px;
}

.img-thumbnail {
  display: block;
  padding: 4px;
  margin-bottom: 10px;
  line-height: 1.428;
  background-color: white;
  width: 100%;
  align: center;
}

.caption {
 padding-top: 2px;
 color: black;
 text-align: center;
 }

h1 {
  padding-top: 10px;
  padding-right: 25px;
  padding-bottom: 10px;
  padding-left: 25px;
  color: white;
  text-align: center;
}

h2 {
  padding-top: 10px;
  padding-right: 25px;
  padding-bottom: 25px;
  padding-left: 25px;
  color: white;
  text-align: center;
  font-style: italic;
}

h4 {
  text-align: center;
}

p {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
}

div {
  display: block;
}

.list {
 display: flex;
 justify-content: center;
}

.tw {
  font-style: italic;
}
              
            
!

JS

              
                
              
            
!
999px

Console