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

Packages

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.

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

              
                .row
  .small-12.columns
    h2.text-center
      | Simple Footer Contact Form

.card
  ul.orbit-form(data-orbit)
    li(data-orbit-slide='form')
      div
        form(id='', method='', action='')
          .row
            .small-12.medium-6.columns
              input(type='text', placeholder='First Name')
            .small-12.medium-6.columns
              input(type='text', placeholder='Last Name')
          .row
            .small-12.columns
              input(type='email', placeholder='user@domain.com')
          .row
            .small-12.columns
              textarea(name='comments', rows='5', placeholder='Drop us a line...')
            .small-12.columns
              a.small.expand.radius.button.split.no-pip(type='button', data-orbit-link='verification')
                | Verify <span><i class="fa fa-2x fa-angle-double-right"></i></span>
    li(data-orbit-slide='verification')
      div
        form(id='', method='', action='')
          .row
            .small-12.columns
              p.text-center
                | We need to verify that you are not a robot.<br>
                | Please complete the following action:
          .row
            .small-12.columns
              //- This is simply a placeholder for the real reCAPTCHA box, replace this image with the embed from Google.
              img.captcha(src='recaptcha.png')
          .row
            .small-12.columns
              div.centered
                .button-group.expand.text-center(data-grouptype='OR')
                  button.small.radius.alert.button(type='button', data-orbit-link='form') Back
                  button.small.radius.success.button(type='submit') Submit
              
            
!

CSS

              
                body
  background: #E3E3E3
  font-family: 'Roboto Condensed', 'Roboto', Arial, Sans-Serif
  font-weight: 300

h2
  font-family: 'Roboto Condensed', 'Roboto', Arial, Sans-Serif
  font-weight: 400
  text-shadow: 2px 2px 0 rgba(255,255,255,0.65)

/* removes the stupid blue outline when clicking on a button or link */
button:focus, a:focus
  outline: none!important

/* aligns the "back OR submit" button group */
.centered
  text-align: center!important
  
/* modify the orbit slider */
.orbit-slide-number,
.orbit-timer,
.orbit-timer-paused
  display: none!important

.card
  max-width: 25rem
  margin: 1rem auto
  padding: 1rem
  background: #292C2F
  box-shadow: 0 4px 10px -2px rgba(0,0,0,1)
  border-radius: 3px

form
  p
    color: white
  input[type='text'],
  input[type='email'],
  textarea,  
  input[type='text']:focus,  
  input[type='email']:focus,
  textarea:focus
    background: transparent
    border: 0
    box-shadow: 0 2px 0 white
    color: white
  a[data-orbit-link='verification'],
  button[type='button'],
  button[type='submit']
    background: transparent
    border: 2px solid white
    font-family: 'Roboto'
    font-weight: 300
    margin-top: 1rem
    transition: all ease 0.5s
  a[data-orbit-link='verification']:hover
    background: #1430E9
    border-color: #1430E9
  a[data-orbit-link='verification']:focus
    background: #280EC4
  //- The code below has been modifed from the source found at @link(https://zurb.com/building-blocks/button-option-group)
  .button-group[data-grouptype='OR']
    position: relative
    display: inline-block
    margin: 0
    &:before
      content: attr(data-grouptype)
      z-index: 99999
      color: #999
      display: block
      font-size: 1rem
      padding: 0.25rem
      border-radius: 50%
      background: #292C2F
      position: absolute
      left: 40%
      top: 1.5rem
    button + button
      margin-left: 5px
              
            
!

JS

              
                $(document).foundation({
  orbit: {
    timer_speed: 99999, // just don't ask, to long to explain in comments
    pause_on_hover: true,
    animation_speed: 500,
    navigation_arrows: false,
    bullets: false,
    next_on_click: false
  }
});
              
            
!
999px

Console