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


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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.


              <!-- The HTML structure is based on the Bulma CSS Framwork -->
<section class="section">
  <div class="container is-small">
    <div class="columns is-centered">
      <div class="column is-6-desktop">
        <div class="box">
          <form class="form">
            <div class="field">
              <div class="control has-floating-label">
                <!-- By adding class="has-floating-label" the .control, 
adding class="with-floating-label" on the
and adding class="is-floating-label" on the label which stands after the input, it should get the CSS for the floating label. 

                <!-- placeholder=" " is required -->
                <input class="input is-medium with-floating-label" id="email" placeholder=" " type="text" required>
                <label class="label is-floating-label" for="email">Email</label>




              // Floating label with input height 60px
.control.has-floating-label {
  position: relative;

  // Focused state, when the :placeholder-shown is false {
    font-weight: normal;
    position: absolute;
    line-height: 1;
  } {
    height: 3.75rem;
    transition-duration: 0.2s;
    // Non-focused state, placeholder is show.
    // Modern browser only
    &:placeholder-shown + {
      color: #4b5370;
      display: block;
      top: 1.375rem;
      left: 0.75rem;
      z-index: 0;

    &:hover + {
      z-index: 2;

    &:not(:placeholder-shown) {
      padding-top: 1.5rem;

      & + {
        color: #1c2a3f;
        top: 0.5rem;
        left: 0.75rem;
        z-index: 11;

.field.has-addons .control.has-floating-label .input {
  position: static;