Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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.

HTML

              
                .bg-white.center
  a.btn.block.p2.regular Back to top

footer
  .clearfix
    .sm-col-3.sm-col-right
      .p2.border-top.border-gray
        h5.my1.caps Discover A Dram
        ul.clearfix.list-reset.m0
          li.block
            a(href="#!").blue.text-decoration-none Campbeltown
          li.block
            a(href="#!").blue.text-decoration-none Islay
          li.block
            a(href="#!").blue.text-decoration-none Lowlands
          li.block
            a(href="#!").blue.text-decoration-none Speyside
          li.block
            a(href="#!").blue.text-decoration-none Highlands
            
    .sm-col-9
      .p2.border-top.border-gray
        p.my1.tagline 
          | A gently-peated, intense campfire smoke delicate dry flower, 
          br.xs-hide 
          | sherry-bomb cask-strength single malt.
          
        nav
          ul.overflow-hidden.list-reset.m0.mxn2
            li.block.sm-col
              a(href="#!").btn.block.blue.regular Arrival 
            li.block.sm-col 
              a(href="#!").btn.block.blue.regular Dram 
            li.block.sm-col
              a(href="#!").btn.block.blue.regular Grain 
            li.block.sm-col
              a(href="#!").btn.block.blue.regular Pour 
            li.block.sm-col
              a(href="#!").btn.block.blue.regular Barley 

        p.disclaimer.clearfix.h5.gray 
          | Hey, drink responsibly. We support responsible drinking and with moderation.
          br
          | &copy; 2016 Whisky, Pty Ltd Co. All wrongs reversed.

        p.links.h5.gray 
          a(href="#!").gray.mr1 Terms
          a(href="#!").gray.mr1 Privacy
          a(href="#!").gray.mr1 Directory
          a(href="#!").gray.mr1 Send whisky
      
  .clearfix.border-top.border-gray.py2
    .brand.center
      a(href="#!").btn.blue.regular.caps Whisky
    .brands.center.h5
      a(href="#!").btn.px1.blue Single Malt 
      a(href="#!").btn.px1.blue Bourbon 
      a(href="#!").btn.px1.blue Rye 
              
            
!

CSS

              
                /* bass: buttons */
@import '//npmcdn.com/basscss-btn@1.1.1/css/btn.css';
@import '//npmcdn.com/basscss-btn-primary@1.1.0/css/btn-primary.css';
/* bass: colors */
@import '//npmcdn.com/basscss-colors@2.2.0/css/colors.css';
@import '//npmcdn.com/basscss-background-colors@2.1.0/css/background-colors.css';
@import '//npmcdn.com/basscss-border-colors@2.1.0/css/border-colors.css';
/* bass: forms */
@import '//npmcdn.com/basscss-forms@1.0.0/index.css';
/* bass: responsive */
@import '//npmcdn.com/basscss-responsive-margin@1.1.0/css/responsive-margin.css';
@import '//npmcdn.com/basscss-responsive-padding@1.1.0/css/responsive-padding.css';
@import '//npmcdn.com/basscss-responsive-layout@1.0.1/css/responsive-layout.css';
@import '//npmcdn.com/basscss-responsive-position@1.0.0/css/responsive-position.css';
@import '//npmcdn.com/basscss-responsive-typography@1.0.1/css/responsive-typography.css';
@import '//npmcdn.com/basscss-responsive-type-scale@1.0.1/css/responsive-type-scale.css';
/* bass: core */
@import '//npmcdn.com/basscss@8.0.1/css/basscss.min.css';

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, sans-serif;
  line-height: 1.5;
  margin: 0;
}
              
            
!

JS

              
                
              
            
!
999px

Console