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

              
                          <!-- パーマリンク用のコンテンツ -->
{block:PermalinkPage}
     <nav class="navbar navbar-default my-navbar navbar-fixed-top">
        <div class="container">
          <div class="navbar-header my-navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-ex-collapse">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a href="/" class="navbar-brand brand-name"><img src="{PortraitURL-128}" alt="{Title}"></a>
          </div>
          <div class="collapse navbar-collapse" id="navbar-ex-collapse">
            <ul class="nav navbar-nav navbar-right my-navbar-nav">
              <li>
                <a href="/">ホーム</a>
              </li>
                            <li>
                <a href="/">制作実績</a>
              </li>
              <li>
                <a href="#nav3">サービス内容</a>
              </li>
              <li>
                <a href="#nav4">プロフィール</a>
              </li>
                     {block:HasPages}
          {block:Pages}
          <li>
            <a href="{URL}">{Label}</a>
          </li>
          {/block:Pages}
        {/block:HasPages}
                <li>
          <a href="/ask">お問い合わせ</a>
        </li>
        <li>
          <a href="/archive">アーカイブ</a>
        </li>
            </ul>
          </div>
        </div>
      </nav>
      
    <section class="section margin-30">
      <div class="container" id="nav2">
       
        {block:Posts}

<article class="post {TagsAsClasses} {PostType}">
          <div class="col-md-12 img-thumbnail img-thumbnail-back ">
          <!-- post: テキスト -->
          {block:Text}
            <header class="entry-header">
              {block:Title}
                <h4 class="entry-title"><a href="{Permalink}">{Title}</a></h4>
              {/block:Title}
            </header>
            <div class="entry-content">
              {Body}
            </div>
          {/block:Text}

          <!-- post: 画像 -->
          {block:Photo}
            <div class="entry-content">
              {LinkOpenTag}
                <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="img-responsive"/>
              {LinkCloseTag}
              {block:Caption}
                <div class="caption">
                  {Caption}
                </div>
              {/block:Caption}
            </div>
          {/block:Photo}

          <!-- post: フォトセット -->
          {block:Photoset}
              <div class="entry-content">
                {Photoset}
                {block:Caption}
                  <div class="caption">
                    {Caption}
                  </div>
                {/block:Caption}
              </div>
          {/block:Photoset}

          <!-- post: 引用 -->
          {block:Quote}
            <div class="entry-content {Length}">
              <blockquote>“{Quote}”</blockquote>
              {block:Source}
                <div class="quote-source">
                  {Source}
                </div>
              {/block:Source}
            </div>
          {/block:Quote}

          <!-- post: リンク -->
          {block:Link}
            <header class="entry-header">
              <h1 class="entry-title">
                <a href="{URL}" class="link-url" {Target}>{Name}</a>
              </h1>
            </header>
            <div class="entry-content">
                {block:Description}
                  <div class="link-description">{Description}</div>
                {/block:Description}
            </div>
          {/block:Link}

          <!-- post: チャット -->
          {block:Chat}
            <div class="entry-content">
              {block:Title}
                <h1 class="entry-title"><a href="{Permalink}">{Title}</a></h1>
              {/block:Title}
              <ul class="ul-chat">
                {block:Lines}
                <li class="{Alt} user_{UserNumber}">
                {block:Label}
                <span class="label">{Label}</span>
                {/block:Label}
                {Line}
                </li>
                {/block:Lines}
              </ul>
            </div>
          {/block:Chat}

          <!-- post: ビデオ -->
          {block:Video}
            <div class="entry-content video-iframe">
              {Video-500}
              {block:Caption}
                <div class="caption">
                  {Caption}
                </div>
              {/block:Caption}
            </div>
          {/block:Video}

          <!-- post: オーディオ -->
          {block:Audio}
            <div class="entry-content">
              {AudioPlayerBlack}
              {block:Caption}
                <div class="caption">
                  {Caption}
                </div>
              {/block:Caption}
            </div>
          {/block:Audio}

          <!-- post: Answer -->
          {block:Answer}
            <div class="entry-content">
              <div class="question bubble">
                {Question}
              </div>
              <div class="asker-group">
                <img src="{AskerPortraitURL-24}" width="24" height="24" /> {Asker}
              </div>
              <div class="answer cont">{Answer}</div>
            </div>
          {/block:Answer}

          <!-- Content Source -->
          {block:ContentSource}
            <div class="cont content_source">
              <a href="{SourceURL}">
                {lang:Source}:
                {block:SourceLogo}
                  <img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
                {/block:SourceLogo}
                {block:NoSourceLogo}
                    {SourceTitle}
                {/block:NoSourceLogo}
              </a>
            </div>
          {/block:ContentSource}
    <footer class="post_footer">

           <!-- パーマリンクのページャ -->
    {block:PermalinkPagination}
        <div class="row">
          <div class="col-md-12">
            <ul class="pager">
              <li>
               {block:PreviousPost}
                <a href="{PreviousPost}">←  Prev</a>
                {/block:PreviousPost}
              </li>
              <li>
                {block:NextPost}
                 <a href="{NextPost}" class="next" rel="next">Next  →</a>
                 {/block:NextPost}
              </li>
            </ul>
          </div>
        </div>
    {/block:PermalinkPagination}
        <!-- タグ一覧 -->
            {block:HasTags}
            {block:Tags}
           <a href="{TagURL}" class="label label-primary">#{Tag}</a>
            {/block:Tags}
         {/block:HasTags}
        <hr>
        <!-- 投稿日 -->
 <time datetime="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}">{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}</time>

        <!-- リブログ/ライクボタン -->
        <ul class="btn-group pull-right" role="group">
            <li class="btn reblog">{ReblogButton}</li>
            <li class="btn like">{LikeButton}</li>
        </ul>

        <!-- リアクション件数 -->
     {block:PostNotes}
      <h4 class="notecount-header">{NoteCountWithLabel}</h4>
      <div class="notecontainer">{PostNotes}</div>
    {/block:PostNotes}
    </footer>
    

    
</div>
    
   </article>
    {/block:Posts}
      {/block:PermalinkPage}

      </div>
        </section>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console