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 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

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

              
                <!-- ここからコピペ -->
<!doctype html>
<html lang="ja">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>iSaraの模写</title>

    <!--  fontawesome -->
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
    
</head>
<!--  ここまでコピペ  -->
<body>

  <div class="featuresecond">
      <p>まずは20日間で、<br>月10万稼げるスキルを手にいれよう。</p>
      <p><span class="featuresecond__text--red">※受講料金は実質0円です。詳しくは資料請求をどうぞ。</span></p>
      <a href=""><button class="featuresecond__btn">お問い合わせ&資料請求はこちら</button></a>
      <p>第一期生:2017年11月6日 ~ 2017年11月25日 *募集を締切りました</p>
      <p>第二期生:2018年1月13日 ~ 2018年2月1日 *募集を締切りました</p>
      <p>第三期生:募集を締切りました</p>
      <p class="featuresecond__text--big">第四期生:資料請求受付中です(※日程は未定です)</p>
  </div>

  <div class="snsbtns">
    <button class="snsbtn__twitter"><i class="fab fa-twitter"></i>ツイート</button>
    <button class="snsbtn__facebook"><i class="fas fa-check"></i>いいね!</button>
    <button class="snsbtn__share">シェア</button>
  </div>
  
</body>
</html>
              
            
!

CSS

              
                /* html */
html {
  font-size: 16px;
  font-family: sans-serif;
  line-height: 1.6;
  width: 100%;
  box-sizing: border-box;
}
/* end html */

/* featuresecond */
.featuresecond{
  background-color: #ebb94d;
  padding: 40px 0;
  text-align: center;
  color: white;
}

.featuresecond__text--red{
  color: #c7254e;
  background-color: white;
  padding: 2px 0;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: bold;
}

.featuresecond__btn{
  cursor: pointer; /* マウスをのせると、ポインターになる */
  color: white; /* 文字色 */ 
  background-color: #da6b64; /* 背景色 */
  font-size: 1.3rem; /* 文字サイズ */
  padding: 1rem 2rem; /* 上下・左右の余白 */
  border-style: none; /* 枠線を消す */
  border-radius: 3rem; /* 角を丸くする */
  width: 85%; /* ボタンの長さを設定する */
}

.featuresecond__btn:hover{
  background-color: #d84940;
}

.featuresecond__text--big{
  font-size: 1.5rem;
}

  @media screen and (min-width:769px){
    .featuresecond,.featuresecond__text--red,.featuresecond__text--big{
      font-size: 1.25rem;
    }

    .featuresecond__btn{
      width: 60%;
      padding: 1.25rem 0;
    }

  }
/* end featuresecond */

/* snsbtn */
.snsbtns{
  padding: 30px;
    text-align: center;
}

.snsbtn__twitter{
    background-color: #1b95e0;
    color: white;
    border-radius: 3px;
    border-style: none;
}

.snsbtn__facebook{
    background-color: #4082F7;
    color: white;
    border-radius: 3px;
    border-style: none;
}

.snsbtn__share{
    background-color: #4267b2;
    color: white;
    border-radius: 3px;
    border-style: none;
}
              
            
!

JS

              
                
              
            
!
999px

Console