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

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

CSS

              
                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;
}
              
            
!

JS

              
                
              
            
!
999px

Console