Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <body>
	<div id="body">
<header id="common-header">
<h1>ヘッダh1</h1>

<nav id="menu">
  <input type="radio" name="menu" id="menu00" checked="checked"><label for="menu00" class="overlay-close">×</label>
  <input type="radio" name="menu" id="menu01"><label for="menu01">
    <svg viewBox="0 0 31 37">
      <path d="M26.5,36.5h-22c-2.2,0-4-1.8-4-4v-28c0-2.2,1.8-4,4-4h22
    c2.2,0,4,1.8,4,4v28C30.5,34.7,28.7,36.5,26.5,36.5z M27.5,18.5v-12c0-1.1-0.9-2-2-2h-20c-1.1,0-2,0.9-2,2v12c0,1.1,0.9,2,2,2h20
    C26.6,20.5,27.5,19.6,27.5,18.5z M4.475,26.291h22 M4.475,31.291h22"/>
    </svg>
  </label>
  <form id="form-url-input">
    <input type="url" placeholder="URL" id="url-input"><input type="submit" id="url-submit">
    <div id="tag-input-area" class="box">
      <ul id="tag-input-list" class="check-list"></ul>
      <input type="text" id="tag-input" placeholder="タグ"><button>追加</button>
      <ul id="tag-check" class="check-list paragraph">
        <li><input type="checkbox" name="tag-check" id="SPA"><label for="SPA">SPA</label></li>
        <li><input type="checkbox" name="tag-check" id="REACT"><label for="REACT">REACT</label></li>
        <li><input type="checkbox" name="tag-check" id="REST"><label for="REST">REST</label></li>
        <li><input type="checkbox" name="tag-check" id="PHP"><label for="PHP">PHP</label></li>
        <li><input type="checkbox" name="tag-check" id="テスト"><label for="テスト">テスト</label></li>
      </ul>
    </div>
  </form>
  <input type="radio" name="menu" id="menu02"><label for="menu02">
    <svg viewBox="0 0 42.387 43.79">
      <path d="M30.5,15.5c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15
        S30.5,7.216,30.5,15.5z M15.5,5.5c-5.523,0-10,4.477-10,10s4.477,10,10,10s10-4.477,10-10S21.023,5.5,15.5,5.5z M37.966,39.972
        l-7.221-9.585c-0.993-1.318-2.883-1.584-4.201-0.591l0,0c-1.318,0.993-1.584,2.883-0.591,4.201l7.221,9.585
        c0.993,1.318,2.883,1.584,4.201,0.591l0,0C38.693,43.18,38.959,41.29,37.966,39.972z"/>
    </svg>
  </label>
    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
</nav>

</header>
		<main class="wrap">
<ul id="article-list">
  <li>
  <article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>
    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
    <h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article></li><li><article>
    <a href="" target="_blank" style="background-image: url(https://source.unsplash.com/random);">
      <h2>記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル記事タイトル</h2>
      <p>descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription</p>
    </a>    <ul class="tag-list">
      <li><a name="タグ1">タグ1</a></li>
      <li><a name="タグ2">タグ2</a></li>
      <li><a name="タグ3">タグ3</a></li>
    </ul>
<h3>読んだ</h3>
    <ul class="account-list">
      <li data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント2" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント3" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント4" style="background-image: url(https://source.unsplash.com/random);"></li>
      <li data-account="アカウント5" style="background-image: url(https://source.unsplash.com/random);"></li>
    </ul>
    <h3>コメント</h3>
    <ul class="comment-list">
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
      <li><span data-account="アカウント1" style="background-image: url(https://source.unsplash.com/random);"></span><span>コメントコメントコメントコメントコメント</span></li>
    </ul>
    <form class="comment-input" data-article=""><textarea placeholder="コメント"></textarea><input type="submit"></form>
  </article>
  </li>
</ul>
		</main>
	
		<footer id="common-footer">
			<h2>フッタ</h2>
			<address>連絡先とか</address>
			<p>コピーライト</p>
		</footer>

	</div>
	<button type="button" id="overlay"></button>

</body>
              
            
!

CSS

              
                @charset "UTF-8";

/*-- ベース --*/

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 62.5%;
}

body {
  color: #333;
  background: #f0f0f0;
  font-size: 1.5em;
  font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'MS Pゴシック', sans-serif;
  line-height: 1.5;
}

body * {
  word-break: break-all;
  word-wrap: break-word;
}

.wrap {
  padding: 0 20px;
  margin: 0 auto;
}

button {
  padding: 0;
	background: none;
	border: none;
}

input,
textarea {
  appearance: none;
}

a,
button,
.hover,
article,
.check-list label,
[type="submit"] {
  outline: none;
  transition: opacity 0.1s 0s linear;
}

a:hover,
button:not(#overlay):hover,
.hover,
article:not(.overlay):hover,
.check-list label:hover,
[type="submit"]:hover {
  opacity: 0.7!important;
}

/*-- パーツ --*/

[data-account] {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: url() no-repeat 50% 50%;
  background-size: cover;
  vertical-align: middle;
}

.box {
  margin-top: 10px;
  padding: 10px 10px 5px 10px;
  border-radius: 3px;
  background: #fff;
}

.paragraph {
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

/*-- nav --*/

nav#menu {
  text-align: center;
}

nav#menu > label:not([for="menu00"]) {
  cursor: pointer;
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 0 10px;
  border: 1px solid rgba(255,105,180,1);
  border-radius: 50%;
  transition: all 0.2s 0s ease;
}

nav#menu > label:not([for="menu00"]):hover {
  box-shadow: inset 0 0 0 25px rgba(255,105,180,1);
}

nav#menu > [type="radio"] + label:not([for="menu00"]) + * {
  overflow: hidden;
  overflow-y: auto;
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  height: 0;
  margin: 0 0 0 -50%;
  padding: 0;
  text-align: left;
  z-index: 10;
  transition: all 0.3s 0s ease-in-out;
}

nav#menu > [type="radio"]:checked + label:not([for="menu00"]) + * {
  height: auto;
  padding: 20px;
  background: rgba(0,0,0,0.8);
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

[for^="menu"] {
  position: relative;
}

[for^="menu"] > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 30px;
  transform: translate(-50%,-50%);
}

[for^="menu"] > svg path {
  stroke: rgba(255,105,180,1);
  fill:none;
  stroke-miterlimit:10;
}

[for="menu01"] > svg {
  width: 40px;
  height: 30px;
}

[for="menu02"] > svg {
  width: 30px;
  height: 40px;
}

[for^="menu"]:hover > svg path {
  fill: rgba(255,255,255,0.8);
}

/*--  フォーム --*/

[class*="button0"],
[type="submit"] {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 2.6em;
  line-height: 2.6em;
  color: #fff;
  border: none;
  border-radius: 3px;
  background: #ff3366;
  font-weight: bold;
  font-size: 1.4rem;
}

[type="text"],
[type="url"],
[type="number"],
textarea {
  width: 100%;
  height: 3em;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

[type="radio"],
[type="checkbox"] {
  position: fixed;
  top: -100%;
  left: -100%;
  z-index: -9999;
}

/*-- サイトヘッダ --*/

#common-header {
  z-index: 1;
}

#common-header h2 {
  margin: 0;
}

#form-url-input {
  overflow: hidden;
  position: relative;
  margin: 0 auto 10px auto;
  padding: 0;
}

#form-url-input [type="url"] {
  position: relative;
  display: inline-block;
  width: calc(100% - 4.8em);
  height: 2.6em;
  line-height: 2.6em;
  margin: 0 0.5em 0 0;
  border: none;
  vertical-align: middle;
}

#form-url-input [type="submit"] {
  display: inline-block;
  width: auto;
  height: 2.6em;
  line-height: 2.6em;
  margin: 0;
  padding: 0 1em;
  vertical-align: middle;
}

#tag-input-list {
  display: inline;
}

#tag-input-list [type="text"] {
  width: 7em;
  margin-bottom: 5px;
}

#tag-input {
	display: inline-block;
	width: 9em;
	height: 2.2em;
	line-height: 2.2em;
  margin-bottom: 5px;
  padding: 0 3em 0 10px;
}

#tag-input + button {
  cursor: pointer;
  display: inline-block;
  width: 4em;
	height: 2.2em;
	line-height: 2.2em;
  margin: -1px 0 0 -4.5em;
  color :#333;
  border-left: 1px solid #ccc;
  border-radius: 0 3px 3px 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.check-list > li {
  display: inline-block;
  margin: 0 5px 5px 0;
  font-size: 1.3rem;
}

.check-list label {
  cursor: pointer;
  display: inline-block;
  height: 2em;
  line-height: 2em;
  padding: 0 0.5em;
  color: #fff;
  border-radius: 2px;
  background: #999;
}

.check-list :checked + label {
  background: #ff3366;
}

/*-- リスト --*/

#article-list > li {
  overflow: hidden;
  position: relative;
  display: inline-block;
  height: 200px;
  margin: 10px;
  padding: 2px;
}

.tag-list {
	margin-top: 10px;
}

.tag-list > li {
	display: inline-block;
  margin-right: 5px;
}

.tag-list > li  > a,
.tag-list > li  > a:hover {
  cursor: pointer;
  display: block;
	height: 2.4em;
	line-height: 2.4em;
	padding: 0 0.5em;
	color: #666;
	border-radius: 2px;
	border: 1px solid #ccc;
	background: #fff;
	font-size: 1.2rem;
}

.account-list {
  letter-spacing: 0;
}

.account-list  > li {
  margin-right: 5px;
}

.comment-list {
  border-top: 1px dashed #ccc;
  background: #fff;
}

.comment-list > li {
  border-bottom: 1px dashed #ccc;
}

.comment-list [data-account] {
  margin: 10px;
}

.comment-list > li > span:last-child {
  display: inline-block;
  width: calc(100% - 60px);
  padding: 10px 10px 10px 0;
  vertical-align: top;
}

/*-- article --*/

#article-list {
  position: static;
}

#article-list > li:first-child {
  width: -webkit-calc(100% - 20px);
  width: calc(100% - 20px);
}

article {
  cursor: pointer;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(255,105,180,1);
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

article > a:link,
article > a:visited,
article > a:hover {
  pointer-events: none;
  position: relative;
  display: block;
  height: 200px;
  color: rgba(255,105,180,1);
  background: url(/images/noimage.png) no-repeat 50% 50%;
  background-size: cover;
  text-decoration: none;
}

article h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.8em;
  background: rgba(255,255,255,0.9);
  font-size: 1.6rem;
}

article.overlay h2 {
  font-size: 2rem;
}

article h3 {
  margin: 20px 0 10px 0;
  font-weight: bold;
  font-size: 1.8rem;
}

article p {
  padding: 0 1em 1em 1em;
  background: rgba(0,0,0,0.5);
}

/*-- articleOverlay -- */

article.overlay {
  overflow: auto;
  cursor: default;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  margin: auto;
  padding: 20px;
  border: none;
  border-radius: 0;
  background: #efefef;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
  z-index: 9999;
}

article.overlay h2,
article.overlay p {
  position: static;
  height: auto;
  padding-right: 50px;
  color: #fff;
  background: rgba(0,0,0,0.4);
}

article.overlay > a:link,
article.overlay > a:visited,
article.overlay > a:hover {
  overflow: hidden;
  pointer-events: auto;
  position: relative;
  height: auto;
  border-radius: 4px;
}

article.overlay > a:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  display: block;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 0;
  box-shadow: inset 0 4px 0 0 #fff, inset -4px 0 0 0 #fff;
  transform: rotate(45deg);
}

article h3,
article p,
article .tag-list,
article .comment-list,
article .account-list {
  display: none;
}

article.overlay h3,
article.overlay p,
article.overlay .tag-list,
article.overlay .comment-list,
article.overlay .account-list {
  display: block;
}

/*--  コメントtextarea --*/

.comment-input textarea {
  resize: none;
  margin: 20px 0 10px 0;
}

.comment-input textarea:focus {
  height: 10em;
}

/*-- overlay -- */

#overlay,
#spinner {
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}

#overlay-close,
[for="menu00"] {
  cursor: pointer;
  position: fixed;
  top: 5px;
  right: 5px;
  display: none;
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(255,255,255,0.7);
  text-align: center;
  font-size: 2.8rem;
  z-index: 9999;
}

:not(:checked) + [for="menu00"] {
  display: block;
}

/*-- spinner --*/

#spinner {
  cursor: default;
}

#spinner:after {
  content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 30px;
	height: 30px;
  border: 5px solid rgba(255,255,255,0.6);
  border-left: 5px solid rgba(255,255,255,1);
	border-radius: 50%;
	animation: spinner 0.7s infinite linear;
}

@keyframes spinner {
0% {
	transform: rotate(0deg);
	}
100% {
	transform: rotate(360deg);	
	}
}

@media screen and (min-width: 961px) and (max-width: 1280px){

.wrap,
article.overlay {
  width: 930px;
}

#article-list > li  {
  width: 276px;
}


}

@media screen and (max-width: 640px){

.wrap,
article.overlay {
  width: 90%;
}

#article-list > li,
#article-list > li:first-child {
  width: 100%;
}

}

@media screen and (min-width: 641px) and (max-width: 768px){

.wrap,
article.overlay {
  width: 620px;
}

#article-list > li  {
  width: 270px;
}

}

@media screen and (min-width: 769px) and (max-width: 960px){

.wrap,
article.overlay {
  width: 740px;
}

#article-list > li  {
  width: 330px;
}

}

@media screen and (min-width: 1281px) {

.wrap,
article.overlay {
  width: 1260px;
}

#article-list > li  {
  width: 285px;
}

}
              
            
!

JS

              
                var inputURL,tagArr;
var apiURL = './api/article';

// タッチイベント利用判定 
var supportTouch = 'ontouchend' in document;
 
// イベント設定
var eTouchStart = supportTouch ? 'touchstart' : 'mousedown';
var eTouchMove = supportTouch ? 'touchmove' : 'mousemove';
var eTouchEnd = supportTouch ? 'touchend' : 'mouseup';


$(function(){
  
  //記事クリック
  $('body').on(eTouchStart, 'article', function(e){
    if($(this).is(':not(.overlay)')){
      e.preventDefault();
      $(this).addClass('hover');
    }
  });
  $('body').on(eTouchEnd, 'article', function(e){
    if($(this).is(':not(.overlay)')){
      e.preventDefault();
      $(this).removeClass('hover');
      $(this).addClass('overlay');
      $('#overlay').css('display', 'block');
      $('#overlay-close').css('display', 'block');
      $('body').css('overflow','hidden');
    }
  });


  //記事閉じるボタンクリック
  $('#overlay-close').on(eTouchStart, function(e){
    e.preventDefault();
    $('.overlay').removeClass('overlay');
    $('#overlay').css('display', 'none');
    $('#overlay-close').css('display', 'none');
    $('body').css('overflow','auto');
  });
  
  //オーバーレイ
  $('#overlay').on(eTouchStart,function(e){
    if($(this).is(':not(.overlay)')){
      e.preventDefault();
    }
  });
  $('#overlay').on(eTouchEnd,function(e){
    if($(this).is(':not(.overlay)')){
      e.preventDefault();
      $('.overlay').removeClass('overlay');
      $('#overlay').css('display', 'none');
      $('#overlay-close').css('display', 'none');
      $('body').css('overflow','auto');
    }
  });      
});
              
            
!
999px

Console