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

              
                <div>
  <ul class="list">
    <li class="card">
      <p class="thum"></p>
      <p class="ttl">彷徨えるレタッチャー!! 静止画と動画の境界をボーダレスにサヴァイヴ!!</p>
      <p class="txt">昨今、オールドメディアからオープンメディアへ広告が変換されていくデジタル化されたアウトプットで、今までにない動きや表現を求められています。</p>
      <p class="sns">share [100] | tweet | facebook</p>
    </li>
    <li class="card">
      <p class="thum"></p>
      <p class="ttl">デザイナー必見!主要デザインツールのアップデートをキャッチアップ!鷹野氏による最新スーパーtipsのご紹介</p>
      <p class="txt">Photoshop、Illustrator、InDesign、そして新アプリDimensionといったアドビのデザイン製品の最新機能を紹介する、アドビデザイン製品担当岩本崇のセッションです。</p>
      <p class="sns">share [100] | tweet | facebook</p>
    </li>
    <li class="card">
      <p class="thum"></p>
      <p class="ttl">iPadで描く! 話題のProject Gemini徹底解説</p>
      <p class="txt">次世代のプロ向けデジタルスケッチアプリを、開発者が徹底解説します。</p>
      <p class="sns">share [100] | tweet | facebook</p>
    </li>
  </ul>
</div>
              
            
!

CSS

              
                .list {
  display: flex;
  justify-content: center;
  padding: 0px;
}

.list li {
  list-style: none;
  width: 30%;
  background-color: #ddd;
  margin: 10px;
  padding: 0px;
}

.list li.card {
  background-color: #0B797A;
  color: #fff;
  padding: 5px 15px;
}

.list li.card .thum {
  height: 100px;
  background-color: white;
}

.list li.card .ttl {
  font-weight: bold;
}

.list li.card .txt {
  font-size: 70%;
}

.list li.card .sns {
  font-size: 70%;
  color: yellow;
}
              
            
!

JS

              
                
              
            
!
999px

Console