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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <meta name="viewport" content="width=device-width,initial-scale=1">
<main class="block-main">
<section class="block-overlay">
  <div class="block-overlay__inner">
      <li><a href="">アドベントカレンダー2017</a></li>
      <li><a href="">Gravit Designer</a></li>
      <li><a href="">Adobe XD</a></li>
      <li><a href="">バシャログ。10周年企画</a></li>
      <li><a href="">WebStorm/PhpStorm</a></li>
      <li><a href="">AWS</a></li>
      <li><a href="">Vagrant</a></li>
      <li><a href="">gulp</a></li>
      <li><a href="">スマホサイト制作</a></li>
      <li><a href="">Webデザイン</a></li>
      <li><a href="">Fireworks</a></li>
      <li><a href="">Photoshop</a></li>
      <li><a href="">HTML/CSS</a></li>
      <li><a href="">Dreamweaver</a></li>
      <li><a href="">JavaScript</a></li>
      <li><a href="">WordPress</a></li>
      <li><a href="">MovableType</a></li>
      <li><a href="">PHP</a></li>
      <li><a href="">CakePHP</a></li>
      <li><a href="">ソフトウェア設計</a></li>
      <li><a href="">DB/サーバ</a></li>
      <li><a href="">バージョン管理</a></li>
      <li><a href="">Web制作ツール</a></li>
      <li><a href="">Webサービス</a></li>
      <li><a href="">ディレクション</a></li>
      <li><a href="">SEO/SEM</a></li>
      <li><a href="">ソーシャルメディア</a></li>
      <li><a href="">ブラウザ/アドオン</a></li>
      <li><a href="">Apple関連</a></li>
      <li><a href="">書籍・セミナー</a></li>
      <li><a href="">オフィス系ツール</a></li>
      <li><a href="">お知らせ</a></li>
      <li><a href="">その他</a></li>
      <li><a href="">Craft CMS</a></li>
<aside class="block-ad">
  <p><a href="" target="_blank">[AD]横浜の技術情報ブログといえばバシャログ。</a></p>
              * {
  box-sizing: border-box;

html,body {
  margin: 0;
  padding: 0;

body {
  overflow: hidden;

.block-overlay {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px;
  width: 100%;
  height: calc(100% - 50px);
  background: rgba(#000, .8);
  overflow-y: scroll;
  h2 {
    color: #fff;
    text-align: center;
  ul {
    color: #fff;
  li {
    margin: 10px 0 0;
  a {
    color: #fff;

.block-ad {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  background: rgba(#32a138, .8);
  p {
    margin: 0;
  a {
    color: #fff;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.