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


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.



  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link rel="stylesheet" href="">  
  <title>Flexbox approach for I heart CSS calc() blog post</title>



    <article class="comment">
      <div class="comment__header">
        <div class="comment__author-picture ">
          <i class="fa fa-user"></i> 
        <div class="comment__title-group">
          <h3 class="comment__title">
            My great comment
          <div class="comment__author-name-date">
            by Jane Doe on March 2, 2016
      <div class="comment__content">
        <p>“Lorem Ipsum. Proin gravida nibh vel velit auctor aliquet. Aenean sollicitudin, lorem quis bibendum auctor, nisi elit consequat ipsum, nec sais sem.”</p>





                @import "bourbon"
@import "neat"

$base-font-family: 'Open Sans', sans-serif
$base-font-color: #888
$base-font-size: 14px
$base-line-height: 1.6em

$medium-screen-up: new-breakpoint(min-width em(600px))

  padding: 20px
  color: $base-font-color
  font-family: $base-font-family
  font-size: $base-font-size
  line-height: $base-line-height

  max-width: 800px
  margin-right: auto
  margin-left: auto
  background: #EEE
  border: solid 1px #CCC
  padding: 20px

  @include display(flex)

  @include flex-grow(1)
  min-width: 60px
  height: 60px
  margin-right: 20px
  margin-bottom: 20px
  background-color: #FFF
  border: solid 1px #CCC
  border-radius: 50%
  color: #CCC
  font-size: 40px
  line-height: 53px
  text-align: center

  margin-top: 8px
  margin-bottom: 3px
  color: #000
  font-size: 18px
  font-weight: normal

  margin-bottom: 20px
  clear: both
  @include media($medium-screen-up)
    width: calc(100% - 80px)
    margin-left: 80px