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="fr">
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Booooooks :: Pinocchio </title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Muli:400,700">
  <link rel="stylesheet" href="style.css">
      <a href="/">
        <svg width="65px" height="45px" viewBox="0 0 13 9" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
        <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
            <path d="M0.67578125,8.97265704 L0.67578125,2.22266348 C0.67578125,2.22266348 1.51953045,0.957039684 3.73827833,0.957039684 C5.9726512,0.957039684 6.67577553,2.16016354 6.67577553,2.16016354 C6.67577553,2.16016354 7.37889986,0.957039684 9.61327273,0.957039684 C11.8320206,0.957039684 12.6757698,2.22266348 12.6757698,2.22266348 L12.6757698,8.97265704 C12.6757698,8.97265704 11.1913962,7.87890808 9.58202276,7.87890808 C7.98827428,7.87890808 6.67577553,9.05078197 6.67577553,9.05078197 C6.67577553,9.05078197 5.36327678,7.87890808 3.7695283,7.87890808 C2.16015483,7.87890808 0.67578125,8.97265704 0.67578125,8.97265704 Z M1.69140528,2.48828822 L1.69140528,7.39453354 C1.69140528,7.39453354 2.33202967,6.91015901 3.86327821,6.91015901 C5.37890176,6.91015901 6.175776,7.81640814 6.175776,7.81640814 L6.175776,2.70703802 C6.175776,2.70703802 5.09765203,1.92578876 3.73827833,1.92578876 C2.39452961,1.92578876 1.69140528,2.48828822 1.69140528,2.48828822 Z M7.17577505,2.70703802 L7.17577505,7.81640814 C7.17577505,7.81640814 7.92577434,6.91015901 9.48827285,6.91015901 C11.0351464,6.91015901 11.6601458,7.39453354 11.6601458,7.39453354 L11.6601458,2.48828822 C11.6601458,2.48828822 10.9570214,1.92578876 9.61327273,1.92578876 C8.25389902,1.92578876 7.17577505,2.70703802 7.17577505,2.70703802 Z" id="book" fill="#B71C1C"></path>
     <article id="content">
       <h1>Pinocchio <span>Winscluss</span></h1>
       <p>Pinocchio est la libre adaptation du célèbre roman éponyme de Carlo Collodi par l'auteur de bande dessinée Winshluss publiée en 2008 par les Requins Marteaux.</p>

<p>La bande dessinée retrace les évènements du roman éponyme en parodiant personnages et situations. Ainsi, Pinocchio est un petit enfant robot destiné à être vendu en tant qu'arme de guerre. Mais ce dernier tue malencontreusement la femme de Gepetto, puis quitte la maison. En parallèle, Jiminy Cafard se met à vivre dans sa tête. </p>
       <img src="https://images-na.ssl-images-amazon.com/images/I/61qsUBq4y%2BL._SX353_BO1,204,203,200_.jpg" alt="couverture">
      <a href="internet.html#content">Internet. Au-delà du virtuel <span>Jean&#8209;Noël&nbsp;Lafargue, Mathieu&nbsp;Burniat</span></a>
      <a href="jean-doux.html#content">Jean Doux et le mystère de&nbsp;la&nbsp;disquette&nbsp;molle <span>Philippe&nbsp;Valette</span></a>
      <a href="carnet.html#content">Carnet de santé foireuse <span>Pozla</span></a>
      <a href="moins.html#content">Moins qu’hier <span>Fabcaro</span></a>
      <a href="de-rien.html#content">De rien <span>Geoffroy Monde</span></a>
      <a href="blaise.html#content">Blaise <span>Dimitri Planchon</span></a>
      <a href="quartier.html#content">Quartier lointain <span>Jirō Taniguchi</span></a>
      <a href="pyongyang.html#content">Pyongyang <span>Guy Delisle</span></a>
  font-family:Georgia, 'Times New Roman', Times, serif;
  line-height: 1.5;

nav a{
  font-family: 'Muli', sans-serif;
  font-size:calc(20px + (100vw - 320px) / 48);
  text-decoration: none;
  font-weight: 400;
  transition:background-color 0.4s;

  margin:0 auto;
  padding:1em 8px;
  color: #111;
  line-height: 1.1;

nav a:hover{

h1 span,
nav a span{
  font-size:calc(16px + (100vw - 320px) / 256);
  font-family:Georgia, 'Times New Roman', Times, serif;
  opacity: 0.8;


  max-width: 100%;
  display: block;

  /* background: #fff; */

  margin:0 auto;
  font-size:calc(16px + (100vw - 320px) / 256);


article img{

  font-size:calc(16px + (100vw - 320px) / 256);
  margin:0 auto 1.5em auto;


  background: #fbfbfb;
  display: inline-block;

  font-style: normal;

i:nth-child(1) {color: #B71C1C;}
i:nth-child(2) {color: #880E4F;}
i:nth-child(3) {color: #4A148C;}
i:nth-child(4) {color: #311B92;}
i:nth-child(5) {color: #1A237E;}
i:nth-child(6) {color: #0D47A1;}
i:nth-child(7) {color: #01579B;}
i:nth-child(8) {color: #006064;}
i:nth-child(9) {color: #004D40;}
i:nth-child(10){color: #1B5E20;}

nav:first-child>a:nth-child(1) {color: #B71C1C;}
nav:first-child>a:nth-child(2) {color: #880E4F;}
nav:first-child>a:nth-child(3) {color: #4A148C;}
nav:first-child>a:nth-child(4) {color: #311B92;}
nav:first-child>a:nth-child(5) {color: #1A237E;}
nav:first-child>a:nth-child(6) {color: #0D47A1;}
nav:first-child>a:nth-child(7) {color: #01579B;}
nav:first-child>a:nth-child(8) {color: #006064;}
nav:first-child>a:nth-child(9) {color: #004D40;}
nav:first-child>a:nth-child(10){color: #1B5E20;}

/* pour la 2nde nav */
nav:last-child>a:nth-last-child(10) {color: #B71C1C;}
nav:last-child>a:nth-last-child(9)  {color: #880E4F;}
nav:last-child>a:nth-last-child(8)  {color: #4A148C;}
nav:last-child>a:nth-last-child(7)  {color: #311B92;}
nav:last-child>a:nth-last-child(6)  {color: #1A237E;}
nav:last-child>a:nth-last-child(5)  {color: #0D47A1;}
nav:last-child>a:nth-last-child(4)  {color: #01579B;}
nav:last-child>a:nth-last-child(3)  {color: #006064;}
nav:last-child>a:nth-last-child(2)  {color: #004D40;}
nav:last-child>a:nth-last-child(1)  {color: #1B5E20;}

🕑 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.