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-6 lud">
    <p class="sub-title">6. 文字テキストをきちんと整列させて、コンテンツをよりスキャンしやすくしよう。</p>
    
    <p>たとえばアイコンや画像などと同じラインに文字テキストを整列することで、ユーザーにとってより読みやすくなるでしょう。</p>
    <p>If your text is aligned properly (e.g. on the same line as the icons, or images), your text will be eaiser to read for the user.</p>
    
    <div class="example ex-6">
      <div class="col">
        <div class="icon-col">
          <i class="fa fa-database"></i>
        </div>
        <div class="text-col">
          <p class="title">データベース</p>
          <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam deserunt ex ea debitis natus assumenda repellat, culpa veniam, pariatur.</p>
        </div>
      </div>
      <div class="col">
        <div class="icon-col">
          <i class="fa fa-gear"></i>
        </div>
        <div class="text-col">
          <p class="title">初期設定</p>
          <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam deserunt ex ea debitis natus assumenda repellat, culpa veniam, pariatur, alias dolore illo amet.</p>
        </div>
      </div>
      <div class="col">
        <div class="icon-col">
          <i class="fa fa-shield"></i>
        </div>
        <div class="text-col">
          <p class="title">プロキシ</p>
          <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam deserunt ex ea debitis natus assumenda repellat, culpa veniam, pariatur, alias dolore illo amet.</p>
        </div>
      </div>
      <div class="col">
        <div class="icon-col">
          <i class="fa fa-lock"></i>
        </div>
        <div class="text-col">
          <p class="title">セキュリティ</p>
          <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam deserunt ex ea debitis natus assumenda.</p>
        </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-6 i,
.ex-6 .title{
  color: #949CCF;
}

.ex-6 .title{
  font-weight: 500;
}

.ex-6 .col{
  display: flex;
  width: calc(50% - 1rem);
  margin-bottom: 1.5rem;
}

.ex-6 .col p:not(.title){
  color: #888;
  font-size: 1rem;
}

.ex-6 .col:nth-child(2n - 1){
  margin-right: 2rem;
}

.ex-6 .icon-col{
  width: 12rem;
}

.ex-6 i{
  font-size: 2rem;
}

.ex-6{
  display: flex;
  flex-wrap: wrap;
}
            
          
!
999px
Loading ..................

Console