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.


                <!doctype html>
<html lang="en">
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">

    <title>Border Test</title>
    <div class="sample-1">
      <div class="box border">呈現四邊有線</div>
      <div class="box border-top">呈現上邊有線</div>
      <div class="box border-right">呈現右邊有線</div>
      <div class="box border-bottom">呈現下邊有線</div>
      <div class="box border-left">呈現左邊有線</div>
    <div class="sample-2">
      <div class="box border-0">取消四邊線條</div>
      <div class="box border border border-top-0">取消上邊線條</div>
      <div class="box border border-right-0">取消右邊線條</div>
      <div class="box border border-bottom-0">取消下邊線條</div>
      <div class="box border border-left-0">取消左邊線條</div>
    <div class="sample-3">
      <div class="box border rounded">四腳呈現圓弧</div>
      <div class="box border rounded-top">呈現上邊圓弧</div>
      <div class="box border rounded-right">呈現右邊圓弧</div>
      <div class="box border rounded-bottom">呈現下邊圓弧</div>
      <div class="box border rounded-left">呈現左邊圓弧</div>
    <div class="sample-4">
      <div class="box border rounded-circle">呈現圓形形狀</div>
      <div class="box box1 border rounded-pill">呈現膠囊形狀</div>
      <div class="box border border-primary">呈現主題顏色</div>
      <div class="box border border-danger">呈現主題顏色</div>

    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
    <script src="" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>



  width: 100px;
  height: 100px;
  width: 200px;