Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


                <div class="empty-text">
  <p class="product-intro-text">云服务器是高性能高稳定的云虚拟机,可在云中提供大小可调的计算容量,降低对计算规模预估的难度;</p>
  <div class="call-to-action">
    <button type="button">购买云服务器</button><a href="" class="link-free-trial">申请免费试用</a>


                .call-to-action {
  margin-top: 15px;
  position: relative;

.link-free-trial {
  position: absolute;
  top: 4px;
  margin-left: 10px;
  font-size: 12px;

.empty-text {
  display: table;
  margin: 30px auto 0;
  text-align: center;

.empty-text strong {
  font-size: 24px;
  font-weight: normal;
  color: #333;

.product-intro-text {
  line-height: 2;
  color: #666;
  font-size: 14px;
  margin-top: 10px;