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

              
                <details class="details">
  <summary class="summary">What is a visit?</summary>
  <div class="summary__body">
    <p>Flywheel determines which plan you require based on the amount of traffic to your site. Specifically, the number of “visits” to your site in a given month. We define a visit as <em>a&nbsp;unique IP address in 24-hour period.&nbsp;</em>Before we count them all up, we do our best to remove IP addresses from known bots, spammers, and attackers. You can find more information about our visit tracking <a href="https://getflywheel.com/wordpress-support/what-counts-as-a-visit/">here</a>!</p>
  </div>
</details>

<details class="details">
  <summary class="summary">Is there a discount for yearly payment?</summary>
  <div class="summary__body">
    <p>Absolutely! If you sign up for an annual plan on Flywheel, you’ll receive two months of hosting for free. :)</p>
  </div>
</details>

<details class="details">
  <summary class="summary">Does Flywheel charge overages? </summary>
  <div class="summary__body">
    <p>We do. Whether you get an unexpected influx in traffic or you need more storage as you’re adding more content, we want to support the growth of your site! So instead of throttling or shutting off sites, we charge simple overages based on the traffic you received and the storage you’re using.</p>
    <p>When your number of visits exceeds your plan limit, we charge a small overage for each 1,000 visitors over your limit. The overage cost is $1 per 1,000 extra monthly visitors*. For instance, if you are on a Starter plan and receive 30,000 monthly visits, you’d receive an overage fee of $5.</p>
    <p>When your storage exceeds your limit, we charge an additional $1 for every GB you are over your limit. For instance, if you are on an Agency plan and are using 60GB of storage, you’d receive an overage fee of $10.</p>
    <p>You can read more about our overage policy <a href="https://getflywheel.com/wordpress-support/overage-pricing/">here!</a></p>
  </div>
</details>
              
            
!

CSS

              
                /* 
<details> element used as a disclosure widget.
Replicated from https://getflywheel.com/pricing/
*/

body {
  margin: 20px;
  max-width: 700px;
}

details {
  border: 2px solid #e7e7e7;
}

details + details {
  margin-top: 1.25em;
}

summary {
  position: relative;
  padding: 1em 1.143em;
  line-height: 1;
  text-transform: uppercase;
  font-weight: normal;
  cursor: pointer;

  &:focus {
    outline: none;
  }
  
}

.summary__body {
  padding: 1.143em;
  border-top: 2px solid #e7e7e7;
  line-height: 1.5;
  color: #434343;
  
  p {
    margin: 1em 0;
  }
  
  a {
    color: #50c6db;
  }
}



summary:after {
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='accordion__icon' viewBox='0 0 14 5.94'%3E%3Cpath fill='%2350c6db' d='M14 1.002a1 1 0 0 0-1.546-.836L6.97 3.742 1.55.167a1 1 0 0 0-1.1 1.67l5.967 3.936a1 1 0 0 0 1.097.002l6.032-3.935A.998.998 0 0 0 14 1.002z'%3E%3C/path%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  right: 1.143em;
  content: " ";
  height: 100%;
  float: none;
  display: block;
  transition: 100ms ease;
}

details[open] summary:after {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='4' viewBox='0 0 16 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 2C0 1.17157 0.693236 0.5 1.54839 0.5H14.4516C15.3068 0.5 16 1.17157 16 2C16 2.82843 15.3068 3.5 14.4516 3.5H1.54839C0.693236 3.5 0 2.82843 0 2Z' fill='%2350C6DB'/%3E%3C/svg%3E%0A");
}

summary::-webkit-details-marker {
  display: none;
}

              
            
!

JS

              
                    
              
            
!
999px

Console