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


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


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.


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.


                <!doctype html>
<html lang="en">
    <meta charset="UTF-8"/>
    <title>John Smith's CV</title>
    <link href="" rel="stylesheet"/>
    <link href="" rel="stylesheet"/>
    <style>@page { size: A4 }</style>
  <body class="A4">
    <article class="sheet padding-20mm">
        <h1>John Smith</h1>
          <li><a href=""></a></li>
          <li><a target="_blank" href=""></a></li>

      <section id="education">

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

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

      <section id="projects">

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

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

      <section id="experience">

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

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

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

          <span class="date">Jan 2016 | Aug 2016</span>
            Managed loads of fake employees. 


                body {
  font-family: -apple-system,
    "Segoe UI",
    "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;