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

              
                <body>
  <header>
    <h1>Johan Bové</h1>
  </header>
  <main>
    <section id="intro">
      <h2>Is a</h2>
      <article id="profile">
        <h3 class="profile__title"><span itemprop="jobTitle" class="category">Web Consultant</span> at <span itemprop="worksFor" class="logo--deloitte-digital org">Deloitte Digital</span></h3>
        <div class="profile-loader flex-parent ready">
          <div class="profile__avatar flex-child-minor">
            <figure class="avatar">
              <img class="u-photo" src="https://johanbove.info/img/johanbove_200x200.jpg" alt="Johan Bové" itemprop="image">
            </figure>
          </div>
          <div class="profile__details flex-child-major">
            <p class="adr" itemprop="address" itemscope="" itemtype="https://schema.org/PostalAddress">
              <span class="location">He lives in <span itemprop="addressLocality" class="locality p-locality">Düsseldorf</span>,    <span class="country-name p-country-name">Germany</span></span>
              <span aria-hidden="true" class="time-of-day">
                <span aria-hidden="true">where it is currently +/- <strong id="current-temp">11</strong> °C</span>
                and where today the Sun rises at <span class="dawn" title="From dawn...">07:57</span> and sets at <span class="dusk" title="... till dusk">17:24</span>.</span>
              <span aria-hidden="true" class="profile-birthDate">He's <span class="number" id="profile-age">39</span>.</span>
            </p>
          </div>
        </div>
      </article>
      <h2>Contact him</h2>
      <article id="contact">
        <h3>online @</h3>
        <nav id="me-links">
          <a rel="me authn" href="mailto:hello@johanbove.info" class="email p-email u-email" itemprop="email">hello@johanbove.info</a>
          <a rel="me noopener" href="https://github.com/johanbove" class="u-url" itemprop="sameAs">@johanbove@github.com</a>
          <a rel="me noopener" href="https://twitter.com/@johanbove" class="u-url" itemprop="sameAs">@johanbove@twitter.com</a>
          <a rel="me noopener" href="https://keybase.io/johanbove" class="u-url" itemprop="sameAs">@johanbove@keybase.io</a>
          <a rel="me noopener" href="https://johanbove.inrupt.net/profile/card#me" class="u-url" itemprop="sameAs">@johanbove@inrupt.net</a>
          <a rel="me noopener" href="https://matrix.to/#/@jbove:matrix.org" class="u-url" itemprop="sameAs">@jbove:matrix.org</a>
          <a rel="me" href="https://social.johanbove.info" class="u-url" itemprop="sameAs">social.johanbove.info</a>
          <a rel="me" type="text/directory" href="/twtxt.txt" class="u-url" itemprop="sameAs" title="My twtxt Feed">My twtxt Feed</a>
          <a rel="me" title="My Representative H-Card" href="https://johanbove.info#me" class="url u-url u-uid">Visit my H-Card</a>
          <a rel="noopener" type="text/directory" href="http://h2vx.com/vcf/johanbove.info">Download as vCard</a>
        </nav>
    </article>
    </section>
    <section id="bio">
      <h2>Hi, my name is Johan.</h2>
      <p>Since November 2016, I work as a Front-end developer and senior Web Consultant at Deloitte Digital in Düsseldorf, Germany.</p>
      <p>Throughout my career as a web developer I have gathered relevant and hands-on professional experience building performant Web sites and Web applications.</p>
      <p>People I worked with have called me an expert in HTML, CSS and JavaScript, with which I know how to build complex, scalable browser applications.</p>
      <p>When creating web applications, I take special consideration for security, accessibility and performance optimization.</p>
      <p>Current interests: IndieWeb, Vue.js, SOLID, RDF, Linked Data, decentralization, …</p>
      <p>I am happily married to Erica. We are the parents of a wonderful little boy, Nathan. I bike to work whenever I can, even when it rains. I love to study new stuff. I like sci-fi movies and books and read mostly non-fictional literature..</p>
<p>I keep a blog through which from time-to-time I try to share something interesting on the World Wide Web.</p>
    </section>
  </main>
  <footer>
    <address>https://johanbove.info</address>
  </footer>
</body>
              
            
!

CSS

              
                header {  grid-area: header;  }
main   {  grid-area: content; }
footer {  grid-area: footer;  }

#contact { grid-area: contact; }
#intro { grid-area: intro; }
#bio { grid-area: bio; }

body {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-gap: 1rem;
  grid-template-areas: 
    "header"
    "content"
    "footer" ;
}

@media (min-width: 800px) {
  body {
    grid-template-columns: 1rem 3fr 1rem;
    grid-template-areas: 
      ". header ."
      ". content ."
      ". footer ." ;
  }
  main {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: 1fr 3fr;
    grid-template-areas:
      "intro bio";
  }
}

header, main, footer {
  font-size: 1.5rem;
  font-family: Avenir, Roboto, Helvetica, sans-serif;
}

section {
  padding: 2rem;
  background: snow;
}

header, footer {
  padding: 2rem;
}

footer {
  text-align: right;
}

h1, h2 {
  margin: 0;
}
              
            
!

JS

              
                
              
            
!
999px

Console