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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <section class="section">
  <div class="container">

    <!-- FIRST ROW -->
    <div class="tile is-ancestor">
      <div class="tile is-parent">
        <article class="tile is-child green post">
          <a class="post__category" href="">Animals</a>
          <h2 class="post__title">Blog #1</h2>
          <div class="post__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam tincidunt blandit tellus. Nam et varius lectus. Mauris placerat eros lorem, vitae aliquam elit viverra eget. Vestibulum et rhoncus ante.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
      </div>

      <div class="tile is-6 is-parent">
        <article class="tile is-child pink post">
          <a class="post__category" href="">Other</a>
          <h2 class="post__title">Blog #2</h2>
          <div class="post__content">Pellentesque vestibulum dui in mauris varius, quis semper justo fringilla. Curabitur nec suscipit velit, eu aliquam sem. Aliquam erat volutpat. Praesent volutpat tincidunt porta. Mauris a maximus elit. Etiam ante tortor, faucibus sit amet gravida
            eget, accumsan et metus. Morbi sem metus, suscipit ac diam eget, aliquam pharetra est. Duis hendrerit nibh vel mi rhoncus sagittis. Suspendisse et lectus cursus, iaculis risus vitae, convallis nunc.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
      </div>

      <div class="tile is-vertical is-parent">
        <article class="tile is-child blue post">
          <a class="post__category" href="">travel</a>
          <h2 class="post__title">Blog #3</h2>
          <div class="post__content">Cras aliquam sit amet turpis eget sodales. Praesent scelerisque aliquet rhoncus. Nunc rhoncus eros vehicula, sollicitudin ligula quis, ullamcorper nisl.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
        <article class="tile is-child gold post">
          <a class="post__category" href="">holidays</a>
          <h2 class="post__title">Blog #4</h2>
          <div class="post__content">Nulla neque tortor, posuere eget euismod sit amet, auctor non odio. Nulla quis aliquam nibh. Donec maximus metus nec posuere commodo.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
      </div>
    </div>

    <!-- SECOND ROW -->
    <div class="tile is-ancestor">
      <div class="tile is-6 is-parent">
        <article class="tile is-child gray post">
          <a class="post__category" href="">technology</a>
          <h2 class="post__title">Blog #5</h2>
          <div class="post__content">Duis mattis ex nisi, lobortis lacinia ipsum suscipit in. Quisque sed leo at purus eleifend porttitor. Quisque ultricies, erat a fringilla efficitur, urna arcu sodales erat, ac auctor mauris velit at elit. Duis fringilla diam egestas diam vehicula
            auctor. Cras non bibendum ex. Integer tempor mollis dignissim. Maecenas egestas tortor mi, in egestas mi vulputate vel. Suspendisse in mollis odio, et aliquet orci. Vivamus eleifend facilisis venenatis. Etiam lobortis nec turpis suscipit ullamcorper.
            Nunc vel lorem ac turpis luctus malesuada. Etiam vulputate vitae ex nec interdum. Maecenas condimentum volutpat turpis sed vulputate. Mauris egestas hendrerit fermentum. Proin non lacus dolor. Nulla ac hendrerit ante.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
      </div>

      <div class="tile is-vertical is-parent">
        <article class="tile is-child blue post">
          <a class="post__category" href="">trends</a>
          <h2 class="post__title">Blog #6</h2>
          <div class="post__content"> Etiam ante tortor, faucibus sit amet gravida eget, accumsan et metus. Morbi sem metus, suscipit ac diam eget, aliquam pharetra est. Duis hendrerit nibh vel mi rhoncus sagittis. Suspendisse et lectus cursus.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
        <article class="tile is-child gold post">
          <a class="post__category" href="">music</a>
          <h2 class="post__title">Blog #7</h2>
          <div class="post__content">Praesent rutrum turpis vitae massa dictum rhoncus. Nullam vel purus velit. Ut posuere velit quis arcu aliquet.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
      </div>

      <div class="tile is-parent">
        <article class="tile is-child red post">
          <a class="post__category" href="">fashion</a>
          <h2 class="post__title">Blog #8</h2>
          <div class="post__content">Duis mattis ex nisi, lobortis lacinia ipsum suscipit in. Quisque sed leo at purus eleifend porttitor. Quisque ultricies, erat a fringilla efficitur, urna arcu sodales erat, ac auctor mauris velit at elit.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
      </div>
    </div>

    <!-- THIRD ROW -->
    <div class="tile is-ancestor">
      <div class="tile is-8 is-vertical">
        <div class="tile fb-auto">
          <div class="tile is-parent">
            <article class="tile is-child blue post">
              <a class="post__category" href="">travel</a>
              <h2 class="post__title">Blog #9</h2>
              <div class="post__content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam tincidunt blandit tellus. Nam et varius lectus. Mauris placerat eros lorem, vitae aliquam.</div>
              <a class="post__permalink" href="">Learn more</a>
            </article>
          </div>
          <div class="tile is-parent">
            <article class="tile is-child gray post">
              <a class="post__category" href="">media</a>
              <h2 class="post__title">Blog #10</h2>
              <div class="post__content">Aliquam congue congue tempus. Aenean hendrerit nisl a massa venenatis bibendum. Nullam fermentum augue sit amet magna euismod luctus. Morbi massa neque.</div>
              <a class="post__permalink" href="">Learn more</a>
            </article>
          </div>
          <div class="tile is-parent">
            <article class="tile is-child red post">
              <a class="post__category" href="">animals</a>
              <h2 class="post__title">Blog #11</h2>
              <div class="post__content">Etiam ante tortor, faucibus sit amet gravida eget, accumsan et metus. Morbi sem metus, suscipit ac diam eget, aliquam pharetra est. Duis hendrerit nibh vel mi rhoncus sagittis. Suspendisse et lectus cursus.</div>
              <a class="post__permalink" href="">Learn more</a>
            </article>
          </div>
        </div>

        <div class="tile fb-auto">
          <div class="tile is-parent">
            <article class="tile is-child pink post">
              <a class="post__category" href="">technology</a>
              <h2 class="post__title">Blog #12</h2>
              <div class="post__content">Aliquam congue congue tempus. Aenean hendrerit nisl a massa venenatis bibendum. Nullam fermentum augue sit amet magna euismod luctus. Morbi massa neque.</div>
              <a class="post__permalink" href="">Learn more</a>
            </article>
          </div>
          <div class="tile is-parent">
            <article class="tile is-child gold post">
              <a class="post__category" href="">fashion</a>
              <h2 class="post__title">Blog #13</h2>
              <div class="post__content">Etiam ante tortor, faucibus sit amet gravida eget, accumsan et metus.</div>
              <a class="post__permalink" href="">Learn more</a>
            </article>
          </div>
        </div>
      </div>

      <div class="tile is-parent">
        <article class="tile is-child green post">
          <a class="post__category" href="">fashion</a>
          <h2 class="post__title">Blog #14</h2>
          <div class="post__content">Duis mattis ex nisi, lobortis lacinia ipsum suscipit in. Quisque sed leo at purus eleifend porttitor. Quisque ultricies, erat a fringilla efficitur.</div>
          <a class="post__permalink" href="">Learn more</a>
        </article>
      </div>
    </div>

  </div>
  <!-- /container -->
</section>
              
            
!

CSS

              
                .post {
  position: relative;
  padding: 20px;
  flex-basis: auto;
}

.post__category {
  font-size: .8rem;
  text-transform: uppercase;
}

.post__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 20px 0 10px;
}

.post__content {
  font-size: 1.3rem;
  margin-bottom: 50px;
}

.post__category,
.post__permalink {
  color: #4a4a4a;
  text-decoration: underline;
}

.post__permalink {
  position: absolute;
  bottom: 20px;
}

.fb-auto {
  flex-basis: auto;
}

.pink {
  background: #ffdae0;
}

.gray {
  background: #e7f0da;
}

.green {
  background: #ddebd0;
}

.gold {
  background: #fcf5b6;
}

.blue {
  background: #cae9ef;
}

.red {
  background: #f8c9c1;
}
              
            
!

JS

              
                
              
            
!
999px

Console