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


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


Add 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 or require. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.


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.

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.

              <figure class="snip1473">
  <img src="" alt="profile-sample6" class="profile" />
    <blockquote>I'm looking for something that can deliver a 50-pound payload of snow on a small feminine target. Can you suggest something? Hello...? </blockquote>
  <h3>Hans Down<span>Engineer</span></h3>
<figure class="snip1473 hover"><img src="" alt="profile-sample7" class="profile" />
    <blockquote>Calvin: I'm a genius, but I'm a misunderstood genius. Hobbes: What's misunderstood about you? Calvin: Nobody thinks I'm a genius.</blockquote>
  <h3>Wisteria Widget<span>Photographer</span></h3>
<figure class="snip1473"><img src="" alt="profile-sample9" class="profile" />
    <blockquote>Sorry to say but if you want to stay dad you've got to polish your image. I think the image we need to create for you is "repentant but learning".</blockquote>
  <h3>Desmond Eagle<span>Accountant</span></h3>
              @import url(,400);
@import url(;
.snip1473 {
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #141414;
  text-align: left;
  line-height: 1.4em;
  background-color: #e6e6e6;
  padding-top: 88px;
.snip1473 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
.snip1473 img {
  max-width: 100%;
  vertical-align: top;
  opacity: 0.85;
.snip1473 figcaption {
  width: 100%;
  background-color: #141414;
  padding: 25px;
  position: relative;
  color: #ffffff;
.snip1473 .profile {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  max-height: 88px;
  opacity: 1;
.snip1473 h3 {
  font-size: 1.3em;
  margin: 25px;
  font-weight: 300;
  position: absolute;
  top: 0;
  right: 0;
  text-align: right;
.snip1473 h3 span {
  display: block;
  font-size: 0.65em;
  font-weight: 600;
  color: #bdc3c7;
.snip1473 blockquote {
  margin: 0 0 10px;
  padding: 0 0 30px;
  letter-spacing: 1px;
  opacity: 0.8;
  font-style: italic;
  font-weight: 300;
.snip1473 blockquote:after {
  font-family: 'FontAwesome';
  content: "\201C";
  position: absolute;
  font-size: 180px;
  line-height: 1em;
  color: #212121;
  font-style: normal;
  content: "\201D";
  right: 20px;
  bottom: -105px;
/* Demo purposes only */
body {
  background-color: #212121;

              /* Demo purposes only */
  function () {