Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                
              
            
!

CSS

              
                /*-------------------------
記事下のプロフィールを調整(スマホ)
-------------------------*/
@media only screen and (max-width : 480px) {
  /* プロフィールアイコンを中央に調整 */
  .author-info__inner .tb-left {
    margin: 0 auto;
    width: 100px;
    padding: 30px 0 0 0;
  }
  /*「この記事を書いた人」を非表示にする */
  .author_label span {
    display: none;
  }
  /* アイコンのサイズを大きくする */
  .author_img {
    width: 100px;
    height: 100px;
  }
  /* アイコンの枠線を細くする */
  .author_img img {
    border: solid 1px #dfe2e8;
  }
  /* 名前の位置を調整 */
  .author-info__inner .tb-left .aut {
    width: 100px;
    text-align: center;
    padding-left: 0;
    margin-top: 5px;
  }
  /* 紹介文のフォントサイズと位置を調整 */
  .author-info__inner .tb-right {
    font-size: 15px;
    padding: 15px 15px 30px;
  }
  /* SNSボタンを中央に移動 */
  .follow_btn {
    margin-top: 10px;
    text-align: center;
  }
  /* SNSボタンの形を調整 */
  .follow_btn a:before {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    color: #fff;
    font-size: 20px;
    line-height: 41px;
  }
  /* 文言を初期化 */
  .follow_btn a.Instagram {
    font-size: 0;
  }
  /* 新しい文言を追加 */
  .follow_btn a.Instagram::after {
    font-size: 11px;
    content: "Insta";
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console