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.


Auto Save

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.


                <!-- FontAwesomeの読み込み -->
  <link href="" rel="stylesheet">

  <!-- ボタン -->
  <div class="button btn-right-ad">
    <a href="#">詳細はこちら</a>


                /*** ボタン用装飾 ***/
  text-align: center;
  margin: 2rem;
/* リンク部分 */
.button a{
  display: inline-block;
  padding: 1.2em 5.2em;
  color: #fff;
  background: #2e8b57; /*ボタン色*/
  text-decoration: none; /*下線削除*/
  border-radius: 100vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 20%);
  position: relative; /*疑似要素の基点*/


/*** 右 ***/
.btn-right-ad a:after{
  font-family: "Font Awesome 5 Free";
  content: "\f641"; /*Unicode*/
  position: absolute;
  right: 1.5em; /*右から1em地点*/
  top: 50%;
  transform: translateY(-50%); /*縦軸中央*/
  font-size: 1.5em;
  font-weight: 900; /*必須*/