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.

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

              
                <h1>My summer vacation</h1>
  
<p>This summer I went to Camp Smurfabunch. I was there for 2 weeks and had mega fun times. I was the fastest kayaker in the whole camp and won a first place ribbon. I learned to tie knots, dive off a pier, and lick toads.</p>
  
<p>I met new friends Ketchel, Caleb, and Sarah. I hope they come visit me later this summer but even if they can't &mdash; I'll see them next summer.</p>

<hr>

<p>Later that summer I got to go to Wisconsin Dells with my family. We stayed at The Wilderness which has both inside and outside water parks. My mom was scared to go down the four-person funnel ride, but she did anyway and ended up liking it.</p>

<p>We went go karting at Mt. Zues (or something, I can't remember the name but there was an old god dude holding a lightning bolt as the logo). I beat my brother and dad on the first 2 laps but dad pulled ahead and beat me on the last lap.</p>

<hr>

<p>The last thing I did this summer was go shopping for school clothes and supplies. I got a Trapper Keeper with KISS on it. And like fifty erasers because I make mistakes a lot lololol.</p>

<p>I don't want to go back to school but I know once I get used to it, it will be fine again. I'd rather just go down waterslides all day.</p>
              
            
!

CSS

              
                html {
  background-color: darkseagreen;
}
body {
  max-width: 30em;
  margin: 4em auto 2em;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5em;
  background-color: #ddd;
  padding: 0 6% 2em;
  box-shadow: 0 0 40px rgba(0,0,0,.1),
    3px 2px 10px rgba(0,0,0,.15);
  border-radius:4px;
}
h1 {
  font-size: 2.5em;
  line-height: 1.1em;
  font-weight: bold;
  color: #333;
  position: relative;
  top:-.92em;
  text-shadow:1px 0px 0px rgba(0,0,0,.6)
}
p {
  margin-bottom:1em;
  color: slategrey;
}
hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(0,0,0,.08);
  margin: 2.5em 0;
  position: relative;
}
hr:before,hr:after {
  content: '';
  position: absolute;
  bottom:0px;
  height: 5em;
  width: 100%;
  background: radial-gradient(ellipse at bottom, rgba(255,255,255,0.35) 0%,rgba(255,255,255,0) 70%);
  z-index:0;
}
hr:after {
  top:0px;
  bottom:auto;
  height: 1.5em;
  background: radial-gradient(ellipse at top, rgba(0,0,0,0.06) 0%,rgba(0,0,0,0) 70%);
}
              
            
!

JS

              
                
              
            
!
999px

Console