cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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.

Quick-add: + add another resource

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.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <div class="wrap">
  <div class="lud-15 lud">
    <p class="sub-title">15. キーラインを使って、似たコンテンツをまとめよう。</p>
    <p>表示されているコンテンツのつながりを作り、ユーザーにとってより分かりやすくするテクニック。</p>
    <p>This will make the content appear connected, and it will be easier for the user to understand it.</p>
    
    <div class="ex-15 example">
      <div class="content">
        <p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Repellat minus dignissimos magnam natus ratione.</p>
      </div>
      
      <div class="row">
        <div>
          <i class="fa fa-twitter"></i>
          <i class="fa fa-facebook-square"></i>          
        </div>
        <div class="form">
          <p>メールマガジン、はじめました。</p>
          <input type="text">
          <button>定期購読</button>
        </div>
      </div>
    </div>
  </div>
</div>
            
          
!
            
              *{
  margin: 0;
  outline: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Open Sans', 'Roboto',YuGothic, "Yu Gothic", 游ゴシック体, 游ゴシック, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Roboto, メイリオ, Meiryo, "MS Pゴシック", Osaka, "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
}

.wrap{
  margin: 2rem auto 0;
  width: 90%;
  max-width: 48rem;
}

h1{
  font-weight: normal;
  margin-bottom: 2rem;
}

.wrap p{
  font-size: 1.125rem;
  color: #444;
  line-height: 2;
  margin-bottom: 1rem;
}

.wrap a{
  color: #4687c9;
}

.wrap p.sub-title{
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.lud{
  margin: 4rem 0 4rem;
}

.lud p:nth-child(3){
  font-size: 12px;
  font-style: italic;
  
  
}

.example{
  margin-top: 2.5rem;
}

/* サンプル用スタイリング */
.ex-15{
  background: #F1F1E9;
  padding: 2rem;
}

.ex-15 .content{
  background: #fff;
  width: 90%;
  max-width: 32rem;
  margin: 0 auto;
  border-radius: 0 0 5px 5px;
  margin-top: -2rem;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.1);
  margin-bottom: 2rem;
}

.ex-15 .row i{
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #5C5E5D;
}

.ex-15 .row{
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,.1);
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding: .75rem 0;
}

.ex-15 .row .form{
  display: flex;
  align-items: center;
}

.ex-15 .row .form input{
  border: none;
  border-top: 1px solid rgba(0,0,0,.4);
  border-left: 1px solid rgba(0,0,0,.4);
  border-bottom: 1px solid rgba(0,0,0,.4);
  border-radius: 5px 0 0 5px;
  height: 2rem;
  padding: 0 .5rem;
}

.ex-15 .row .form button{
  background: #363636;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  height: 2rem;
  padding: 0 1rem;
}

.ex-15 .row .form p{
  margin-bottom: 0;
  font-size: .875rem;
  margin-right: 1rem;
}

.ex-15 .content p{
  font-size: 1rem;
  width: 90%;
  max-width: 28rem;
  text-align: center;
  margin: 0 auto;
  padding: 1rem 0 2rem;  
}
            
          
!
999px
Loading ..................

Console