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. 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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

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.

HTML

            
              <div class="container">
  <div class="wrap shadow">
  <header>
    <h1>Steve Jobs - 1955 to 2011</h1>
        <p>Steven Paul "Steve" Jobs was an American information technology entrepreneur and inventor. As co-founder and CEO of Apple Computers, Steve brought us the first personal computer, the ipod and the iphone.</p>
  </header>
  <div>
    <img src="http://vanessa-smith.com/wp-content/uploads/2016/09/steve-jobs.jpg" alt="Steve Jobs - Older people sit down and ask, 'What is it? but the boy asks, 'What can I do with it?." class="img-responsive img-rounded shadow">
    </div>
    <h2>Quotes from Steve</h2>
    <blockquote>
      “We don’t get a chance to do that many things, and every one should be really excellent. Because this is our life. Life is brief, and then you die, you know? And we’ve all chosen to do this with our lives. So it better be damn good. It better be worth it.”
    </blockquote>
    <blockquote>
       “I think if you do something and it turns out pretty good, then you should go do something else wonderful, not dwell on it for too long. Just figure out what’s next.”
    </blockquote>
    <blockquote>
       "My favorite things in life don't cost any money. It's really clear that the most precious resource we all have is time."
    </blockquote>
    <blockquote>
       “Creativity is just connecting things. When you ask creative people how they did something, they feel a little guilty because they didn’t really do it, they just saw something. It seemed obvious to them after a while.”
    </blockquote>
    <blockquote>
      “Quality is much better than quantity. One home run is much better than two doubles.”
    </blockquote>
    <h3>Learn more about <a href="https://en.wikipedia.org/wiki/Steve_Jobs" target="_blank">Steve</a></h3>
   <div>
</div>
  
            
          
!

CSS

            
              @import url(https://fonts.googleapis.com/css?family=Roboto|Montserrat+Alternates);

body {
  padding: 3em;
  background-image: url('http://vanessa-smith.com/wp-content/uploads/2016/09/codebg.jpg');
  background-attachment: fixed;
}
a:link{
  text-decoration: underline;
}
header {
  text-align: center;
  padding-bottom: 0.75em;
}
.wrap{
  padding: 3em;
  border-radius:0.4em;
  background-color: rgba(58,116,133, 0.8);
  color: white;
}
.shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
h1, h2, h3{
  font-family: 'Montserrat Alternates', Sans-Serif;
}
h2 {
  text-align: center;
}
h3 {
  background-color: rgba(255,255,255,0.6);
  color: #337ab7;
  padding: 0.75em;
  text-align: center;
  border-radius: 0.4em;
}
p {
  margin-top: 1.5em;
  width: 75%;
  height: auto;
  margin: 0 auto;
}
blockquote {
  border: 0;
  font-style: italic;
  padding-top: 0.75em;
  padding-bottom: 0;
}

blockquote:first-child {
padding-top: 1.5em;
}
            
          
!

JS

            
              
            
          
!
999px

Console