Pen Settings



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


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.


Auto Save

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.


                <figure class="snip1442">
  <img src="" alt="sample22" />
    <h3>Phillip Anthropy</h3>
    <p>Weekends don't count unless you spend them doing something completely pointless.</p>
  <a href="#"></a>
<figure class="snip1442 hover"><img src="" alt="sample97" />
    <h3>Valentino Morose</h3>
    <p>I'm killing time while I wait for life to shower me with meaning and happiness.</p>
  <a href="#"></a>
<figure class="snip1442"><img src="" alt="sample80" />
    <h3>Richard Tea</h3>
    <p>The only skills I have the patience to learn are those that have no real application in life. </p>
  <a href="#"></a>


                @import url(;
@import url(;
.snip1442 {
  font-family: 'Vollkorn', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  color: #404040;
  text-align: left;
  font-size: 16px;
  line-height: 1.5em;
.snip1442 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
.snip1442 img {
  max-width: 100%;
  vertical-align: top;
.snip1442 figcaption {
  background-color: #ffffff;
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 26px;
  right: 26px;
  padding: 22px;
  opacity: 0;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
.snip1442 h3 {
  text-align: center;
  font-size: 1.5em;
  color: #c31;
  font-family: 'Unica One', Arial, sans-serif;
  margin: 0 0 5px;
  font-weight: 400;
  text-transform: uppercase;
.snip1442 p {
  margin: 0;
.snip1442:after {
  border: 1px solid rgba(255, 255, 255, 0.5);
  content: "";
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
.snip1442:before {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  right: 20px;
.snip1442:after {
  position: absolute;
  top: 23px;
  bottom: 23px;
  left: 23px;
  right: 23px;
.snip1442 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
.snip1442:hover figcaption,
.snip1442.hover figcaption {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;



                /* Demo purposes only */
  function () {