Pen Settings

HTML

CSS

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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                <span class=”must”>必須</span> お名前
<label> 姓 [text* last_name placeholder”例:山田”] </label>
<label> 名 [text* first_name placeholder”例:太郎”] </label><span class=”must”>必須</span> フリガナ
<label>セイ [text* last-name-kana placeholder”例:ヤマダ”]</label>
<label>メイ [text* first-name-kana placeholder”例:タロウ”]</label>
<span class=”must”>必須</span> 返信用メールアドレス
<label>[email* your-email placeholder”例:abcd78@gmail.com”]</label>
<font color=”red”>※メールアドレスの入力間違いにご注意下さい。誤りがあると確認のメールをお送りすることができません。</font>

<span class=”free”>任意</span> お電話番号
<label>[tel your-tel placeholder”例:090-1234-5678″]</label>

<span class=”must”>必須</span> メッセージ本文
<label>[textarea* your-message placeholder”メッセージをご入力ください”]</label>

[submit “送信”]
              
            
!

CSS

              
                /* ———————————————————————-
お問い合わせフォーム
———————————————————————- */
/* 必須マーク */
.must{
color: #fff;
margin-right: 10px;
padding: 6px 10px;
background: #F92931;
border-radius: 2px;
}

/* 任意マーク */
.free {
color: #fff;
margin-right: 10px;
padding: 6px 10px;
background: #424242;
border-radius: 2px;
}

/* 項目名を太字にする */
form p {
font-weight: 600;
}

/* 入力項目を見やすくする */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
width: 100%;
padding: 8px 15px;
margin-right: 10px;
margin-top: 10px;
border: 1px solid #d0d5d8;
border-radius: 3px;
}
textarea.wpcf7-form-control.wpcf7-textarea {
height: 200px;
}

/* 送信ボタンを見やすくする */
input.wpcf7-submit {
width: 100%;
height: 80px;
background: #27c038;
color: #fff;
font-size: 20px;
font-weight: 600;
}

/* エラーメッセージを見やすくする */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
color: red;
font-weight: 600;
}
              
            
!

JS

              
                
              
            
!
999px

Console