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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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>
    <meta charset="utf-8" />
    <title>Mon site personnel</title>
    <link rel="stylesheet" href="css/style.css" />
      <h1>Bienvenue chez moi !</h1>
    <div id="content">
              <li><a href="#moi">Moi</a></li>
              <li><a href="#mes-cours">Mes cours</a></li>
              <li><a href="#mes-loisirs">Mes loisirs</a></li>
          <li><a href="#">CV</a></li>
      <div id="main">
        <section id="moi">
          <h2>Mes données</h2>

          <p>Luca De Feo</p>
            45 avenue des États Unis<br>
            78035 Versailles
          <img src="" width="200">

        <section id="mes-cours">
          <h2>Mes cours</h2>

            <li><a href="">IN202 – Applications de l'informatique</a></li>
            <li><a href="">Applications Web et Sécurité</a></li>

        <section id="mes-loisirs">
          <h2>Mes loisirs</h2>


          <h2>Autre chose</h2>

          <h2>Encore autre chose</h2>
      Copyright Luca De Feo 2015.


                body {
  background-color: #503;
  color: #bfd;

nav, section {
  border: solid thin;
  border-radius: 6px;
  padding: 1ex;
  margin: 2ex;

footer {
  width: 95%;
  margin: 2em auto;
  border-top: solid thin;

header {
  text-align: center;

#moi {
  background-color: #836;
  box-shadow: 0 0 20px;

nav {
  font-size: smaller;  

nav ul {
  list-style-type: none;
  padding: 2px 2ex;

@media (max-width: 400px) {
  nav > ul > li {
    display: inline-block;
    padding: 5px;
  nav > ul ul {
    display: none;

@media (min-width: 400px) {
  #content { display: flex; }
  #main { flex: 1 1 auto; }
  nav { flex: 0 0 auto; }

@media (min-width: 1024px) {
  #main {
    display: flex;
    flex-flow: row wrap;
  #main section {
    flex: 1 1 auto;
    min-width: 20%;

a { text-decoration: none; }
a:hover { text-decoration: underline; }

nav li:hover ul {
  background-color: #614;
  box-shadow: -1px -1px 2px;

section:nth-child(even) {
  background-color: #614;