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.

            
              <!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8"/>
    <title>John Smith's CV</title>
    <link href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.1/normalize.css" rel="stylesheet"/>
    <link href="https://cdn.jsdelivr.net/npm/paper-css@0.4.1/paper.min.css" rel="stylesheet"/>
    <style>@page { size: A4 }</style>
  </head>
  <body class="A4">
    <article class="sheet padding-20mm">
      <header>
        <h1>John Smith</h1>
        <ul>
          <li><a href="mailto:john.smith@example.com">john.smith@example.com</a></li>
          <li><a target="_blank" href="https://github.com/example">github.com/example</a></li>
        </ul>
      </header>

      <section id="education">
        <h2>Education</h2>

        <section id="school">
          <h3>Fake School, <em class="subtitle">Fake Engineering Immersive</em></h3>
          <span class="date">Sept 2019 | Jan 2020</span>
        </section>

        <section id="uni">
          <h3>Fake University, <em class="subtitle">Fake Studies (MA)</em></h3>
          <span class="date">Sept 2015 | May 2019</span>
          <p>
            Graduated with fake honours.
          </p>
        </section>
      </section>

      <section id="projects">
        <h2>Projects</h2>

        <section id="project1">
          <h3>Fake Project #1</h3>
          <p>
            A really cool project I made which is totally fake!
          </p>
        </section>

        <section id="project2">
          <h3>Fake Project #2</h3>
          <p>
            Another fake project I made. Totally different from the other one.
          </p>
        </section>

      <section id="experience">
        <h2>Experience</h2>

        <section id="job1">
          <h3>Fake Job #1, <em class="subtitle">Fake Consultant</em></h3>

          <span class="date">July 2017</span>
          <p>
            Provided fake support for fake clients.
          </p>
        </section>

        <section id="job2">
          <h3>Fake Job #2, <em class="subtitle">Fake Manager</em></h3>

          <span class="date">Jan 2016 | Aug 2016</span>
          <p>
            Managed loads of fake employees. 
          </p>
        </section>
      </section>
    </article>
  </body>
</html>
            
          
!
            
              body {
  font-family: -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Roboto",
    "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 14;
}

header {
  text-align: right;
}
header h1 {
  margin-top: 0;
  font-size: 2.5em;
}
header ul {
  list-style-type: none;
  margin-top: -15px;
  font-size: 1.1em;
}

h2 {
  font-size: 1.8em;
  margin-bottom: 0;
}

h3 {
  margin-top: 0.6em;
}

.subtitle {
  font-weight: normal;
}

h3 {
  margin-bottom: 5px;
}

p {
  margin-top: 5px;
  line-height: 1.3;
}

a {
  color: black;
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}
            
          
!
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