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.


                <p class="ttl">調べる</p>

<!--     カスタム検索用テンプレここから -->
<form class="search-form" action="" name="cse-search-box" target="_blank">
  <input value="ここにカスタム検索のID入れる" name="cx" type="hidden">
  <input value="UTF-8" name="ie" type="hidden">
  <input class="search-input" size="16" name="q" type="text" placeholder="キーワードで検索">
  <button class="search-btn" value="" name="sa"></button>
<!--     カスタム検索用テンプレここまで -->


                .search-form {
  position: relative;

  .search-input {
    background: rgba(#aaabd2, .17);
    border: none;
    border-radius: 3px;
    width: 270px;
    height: 45px;
    color: #7c7eba;
    padding: 0 40px 0 10px;

    &::placeholder {
      font: {
        size: 14px;
        weight: 500;

      line-height: 1.85;
      letter-spacing: .05em;
      color: #AAAAAA;

.search-btn {
  // ボタンの装飾を非表示
  border: none;
  background: unset;
  // 上下中央に
  vertical-align: middle;
  // 疑似要素にFont Awesomeのアイコンを設置
  position: relative;
  &::before {
    position: absolute;
    content: "\f002";
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    left: -2em;
    color: #ddd;

    font: {
      family: "Font Awesome 5 Free";
      weight: 900;
      size: 21px;

// 無関係
.ttl {
  font-family: "TsukuARdGothic-Regular", sans-serif;
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .05em;
  color: #7c7eba;
  text-align: left;
  border-left: 2px solid #db97c7;
  padding-left: 10px;
  margin-bottom: 10px;
  display: inline-block;
  padding: 5px 10px;