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.


            <h1>Proin varius leo quis odio suscipit ac mollis nunc aliquet.</h1>
            <p>Etiam tristique, justo sit amet ornare dignissim, diam turpis sollicitudin nunc, pharetra scelerisque sem justo ac libero. Praesent odio est, faucibus ac dapibus vitae, posuere in nisl. Nunc tempor ultricies tellus, id tincidunt diam lacinia in. Curabitur sagittis urna eu turpis ultricies pharetra. Cras auctor varius elit, eu scelerisque neque aliquam vitae.</p>
            <p>Proin cursus tristique velit in blandit. Aenean lacinia risus eget eros volutpat sed lacinia augue elementum. Donec consectetur cursus diam, in tristique purus rutrum id, or <a href="">click here for more information</a>.</p>
            <a href=""><img src="" height="153" width="195" alt="[Play webcast image placeholder]"></a>
            <p>Proin cursus tristique velit in blandit. Aenean lacinia risus eget eros volutpat sed lacinia augue elementum.</p>
         <p>Sed non dolor ac mi egestas gravida. Aliquam ut negue vitae odio tristique tristique. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam erat volutpat. Ut vitae neque nulla.</p>
         <p>&copy; <span></span> AllianceBernstein L.P.</p>


                $grid-column: 50px;
$grid-gutter: 50px;
$grid-leading: 25px;
$grid-unit: $grid-column + $grid-gutter;
$h1-color: #6fa0a1;
$gradiant: #bdc785;

body {
  height: 25.2 * $grid-leading;
  width: 6.5 * $grid-unit;
  margin: 0 auto;
  margin-top: $grid-gutter;
  // border: 1px solid black
p {
  font-size: 13px;
header {
  background: black url("") no-repeat scroll 50% 50%;
  width: 6.5 * $grid-unit;
  height: 6.44 * $grid-leading;
  margin: $grid-leading;
  main {
  width: 15 * $grid-leading;
  float: left;
  h1 {
    font-family: 'Times New Roman', serif;
    color: $h1-color;
    font-size: 1.6em;
    font-weight: 400;
    a:link {
      color: $gradiant;
  aside {
    width: 2 * $grid-unit;
    float: right;
    background-image: linear-gradient($gradiant, white);
      width: 100%;
    p {
      margin: 0 auto;
      width: 1.8*$grid-unit;
      font-style: italic;

footer {
  margin: $grid-leading;
  padding-top: $grid-gutter;
  clear: both;
    font-family: "Arial", sans-serif;


                function write_year() {
   var y = new Date();
   document.getElementsByTagName("span")[0].textContent = y.getFullYear();