123

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.

            
              <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/curved-shape.svg" alt="" />

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vel at commodi voluptates enim, distinctio officia. Saepe optio accusamus doloribus sint facilis itaque ab nulla, dolor molestiae assumenda cum sit placeat adipisci, libero quae nihil porro debitis laboriosam inventore animi impedit nostrum nesciunt quisquam expedita! Dolores consectetur iure atque a mollitia dicta repudiandae illum exercitationem aliquam repellendus ipsum porro modi, id nemo eligendi, architecto ratione quibusdam iusto nisi soluta? Totam inventore ea eum sed velit et eligendi suscipit accusamus iusto dolore, at provident eius alias maxime pariatur non deleniti ipsum sequi rem eveniet laboriosam magni expedita? Maiores asperiores et autem iste consequuntur ipsa, provident vitae adipisci incidunt perferendis minima numquam blanditiis sint iusto nesciunt temporibus quis amet officiis minus quidem sunt magnam ab animi aperiam, sapiente! Sed officia laboriosam placeat, dolore voluptatem saepe, cumque consectetur blanditiis impedit eius quasi. Officia nihil impedit quo ea, beatae, eveniet ipsam sunt accusamus corrupti, est minima odit numquam, amet perspiciatis necessitatibus molestiae? Incidunt omnis aliquam sint dolorum rerum reprehenderit, nulla, maxime ipsum dicta tenetur et possimus cupiditate quas debitis placeat aut eius voluptate quo adipisci excepturi esse atque eveniet expedita. Atque laudantium libero natus hic illum, obcaecati aliquam cum, delectus sint sed sit porro reiciendis laboriosam placeat aut consequatur ratione soluta eum accusantium velit exercitationem, asperiores molestias. Vitae unde fugiat quia doloribus sunt distinctio, reiciendis voluptas expedita quod, eligendi, excepturi harum dolores repellendus enim voluptatem ab explicabo eius odio similique cumque dignissimos minus. Minima id autem sequi earum molestias alias ipsa. Aliquam minus iste eveniet.</p>
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Sahitya:400,700');
body {
  padding: 2rem;
  max-width: 600px;
  font-family: 'Sahitya', serif;
}

img {
  float: left;
  width: 180px;
  shape-outside: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/3/curved-shape.svg');
  shape-image-threshold: 0;
}

            
          
!
999px
🕑 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.

Console