Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource

JavaScript

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

Packages

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.

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

              
                <!-- testa att lägga till en klass "dark" på body elementet -->
<body >
  <h1>En vanlig rubrik</h1>
  <p>Li Europan lingues es membres del sam familie. Lor separat existentie es un myth.
    <img src="https://source.unsplash.com/random/500x400">
  </p>

  <p>Por scientie, musica, sport etc, litot Europa usa li sam vocabular.</p>

  <p>Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules.</p>

  <p>Omnicos directe al desirabilite de un nov lingua franca: On refusa continuar payar custosi traductores.</p>

  <p>At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles.</p>

  <p>Ma quande lingues coalesce, li grammatica del resultant lingue es plu simplic e regulari quam ti del coalescent lingues.</p>

  <p>Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. It va esser tam simplic quam Occidental in fact, it va esser Occidental.</p>

  <p>A un Angleso it va semblar un simplificat Angles, quam un skeptic Cambridge amico dit me que Occidental es. Li Europan lingues es membres del sam familie. Lor separat existentie es un myth.</p>

  <p>Por scientie, musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilite de un nov lingua franca: On refusa continuar payar custosi traductores. At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun paroles.</p>
</body>  
              
            
!

CSS

              
                html {font-family: sans-serif; max-width: 600px;}

img {float:right;max-width:50%;margin:0.4rem}

body { background-color: #ddd}
p {font-style:italic;}

/* stil regler för dark mode */
body.dark {background-color: #333}
body.dark p,
body.dark h1 {color:white}


              
            
!

JS

              
                
              
            
!
999px

Console