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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

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


                <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="">here</a>!</p>

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

<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="">here!</a></p>


<details> element used as a disclosure widget.
Replicated from

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

details {
  border: 2px solid #e7e7e7;

details + details {
  margin-top: 1.25em;

summary {
  list-style-type: none;
  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='' 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=''%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;