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

              
                <header id="mainHeader">
  <div class="container">
    <h1>Fakestagram</h1>
  </div>
</header>
<main>
  <div class="container">
    <article>
      <header>
        <div>
          <img width="32" height="32" src="https://avatars.dicebear.com/api/avataaars/alebonzo.svg">
        </div>
        <h2><a href="https://instagram.com/alebonzo">alebonzo</a></h2>
      </header>
      <section>
        <div class="img-wrapper">
          <img src="https://i.imgur.com/bxPoqdw.jpg" alt="">
        </div>
      </section>
      <footer>
        <div class="actions">
          <svg aria-label="Like" height="24" viewBox="0 0 48 48" width="24">
            <path d="M34.6 6.1c5.7 0 10.4 5.2 10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12 10.6 16.5.6.5 1.3 1.1 1.9 1.7l2.3 2c4.4 3.9 6.6 5.9 7.6 6.5.5.3 1.1.5 1.6.5.6 0 1.1-.2 1.6-.5 1-.6 2.8-2.2 7.8-6.8l2-1.8c.7-.6 1.3-1.2 2-1.7C42.7 29.6 48 25 48 17.6c0-8-6-14.5-13.4-14.5z"></path>
          </svg>
          <svg aria-label="Comment" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path clip-rule="evenodd" d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z" fill-rule="evenodd"></path>
          </svg>
          <svg aria-label="Share Post" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM5.2 6.1h35.5L18 18.7 5.2 6.1zm18.7 33.6l-4.4-18.4L42.4 8.6 23.9 39.7z"></path>
          </svg>
          <svg aria-label="Save" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1zM24 26c.8 0 1.6.3 2.2.9l15.8 16V3H6v39.9l15.8-16c.6-.6 1.4-.9 2.2-.9z"></path>
          </svg>
        </div>
        <div class="data">
          <div class="likes">Liked by <strong>you</strong> and <strong>others</strong></div>
          <div class="description"><strong>alebonzo</strong></div>
          <time>2 hours ago</time>
        </div>
        <div class="comment">
          <div class="emote">
            <svg fill="#262626" height="24" role="img" viewBox="0 0 48 48" width="24">
              <path d="M24 48C10.8 48 0 37.2 0 24S10.8 0 24 0s24 10.8 24 24-10.8 24-24 24zm0-45C12.4 3 3 12.4 3 24s9.4 21 21 21 21-9.4 21-21S35.6 3 24 3z"></path>
              <path d="M34.9 24c0-1.4-1.1-2.5-2.5-2.5s-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5zm-21.8 0c0-1.4 1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5-2.5-1.1-2.5-2.5zM24 37.3c-5.2 0-8-3.5-8.2-3.7-.5-.6-.4-1.6.2-2.1.6-.5 1.6-.4 2.1.2.1.1 2.1 2.5 5.8 2.5 3.7 0 5.8-2.5 5.8-2.5.5-.6 1.5-.7 2.1-.2.6.5.7 1.5.2 2.1 0 .2-2.8 3.7-8 3.7z"></path>
            </svg>
          </div>
          <input type="text" placeholder="Add a comment...">
          <button>Post</button>
        </div>
      </footer>
    </article>
    <article>
      <header>
        <img width="32" height="32" src="https://avatars.dicebear.com/api/avataaars/ladyahorro.svg">
        <h2><a href="https://instagram.com/ladyahorro">ladyahorro</a></h2>
      </header>
      <section>
        <div class="img-wrapper">
          <img src="https://i.imgur.com/tc8PuJs.jpg" alt="">
        </div>
      </section>
      <footer>
        <div class="actions">
          <svg aria-label="Like" height="24" viewBox="0 0 48 48" width="24">
            <path d="M34.6 6.1c5.7 0 10.4 5.2 10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12 10.6 16.5.6.5 1.3 1.1 1.9 1.7l2.3 2c4.4 3.9 6.6 5.9 7.6 6.5.5.3 1.1.5 1.6.5.6 0 1.1-.2 1.6-.5 1-.6 2.8-2.2 7.8-6.8l2-1.8c.7-.6 1.3-1.2 2-1.7C42.7 29.6 48 25 48 17.6c0-8-6-14.5-13.4-14.5z"></path>
          </svg>
          <svg aria-label="Comment" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path clip-rule="evenodd" d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z" fill-rule="evenodd"></path>
          </svg>
          <svg aria-label="Share Post" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM5.2 6.1h35.5L18 18.7 5.2 6.1zm18.7 33.6l-4.4-18.4L42.4 8.6 23.9 39.7z"></path>
          </svg>
          <svg aria-label="Save" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1zM24 26c.8 0 1.6.3 2.2.9l15.8 16V3H6v39.9l15.8-16c.6-.6 1.4-.9 2.2-.9z"></path>
          </svg>
        </div>
        <div class="data">
          <div class="likes">Liked by <strong>you</strong> and <strong>others</strong></div>
          <div class="description"><strong>ladyahorro</strong></div>
          <time>2 hours ago</time>
        </div>
        <div class="comment">
          <div class="emote">
            <svg fill="#262626" height="24" role="img" viewBox="0 0 48 48" width="24">
              <path d="M24 48C10.8 48 0 37.2 0 24S10.8 0 24 0s24 10.8 24 24-10.8 24-24 24zm0-45C12.4 3 3 12.4 3 24s9.4 21 21 21 21-9.4 21-21S35.6 3 24 3z"></path>
              <path d="M34.9 24c0-1.4-1.1-2.5-2.5-2.5s-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5zm-21.8 0c0-1.4 1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5-2.5-1.1-2.5-2.5zM24 37.3c-5.2 0-8-3.5-8.2-3.7-.5-.6-.4-1.6.2-2.1.6-.5 1.6-.4 2.1.2.1.1 2.1 2.5 5.8 2.5 3.7 0 5.8-2.5 5.8-2.5.5-.6 1.5-.7 2.1-.2.6.5.7 1.5.2 2.1 0 .2-2.8 3.7-8 3.7z"></path>
            </svg>
          </div>
          <input type="text" placeholder="Add a comment...">
          <button>Post</button>
        </div>
      </footer>
    </article>
    <article>
      <header>
        <img width="32" height="32" src="https://avatars.dicebear.com/api/avataaars/florpep.svg">
        <h2><a href="https://instagram.com/florpep">florpep</a></h2>
      </header>
      <section>
        <div class="img-wrapper">
          <img src="https://i.imgur.com/NTB830Y.jpg" alt="florpep">
        </div>
      </section>
      <footer>
        <div class="actions">
          <svg aria-label="Like" height="24" viewBox="0 0 48 48" width="24">
            <path d="M34.6 6.1c5.7 0 10.4 5.2 10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12 10.6 16.5.6.5 1.3 1.1 1.9 1.7l2.3 2c4.4 3.9 6.6 5.9 7.6 6.5.5.3 1.1.5 1.6.5.6 0 1.1-.2 1.6-.5 1-.6 2.8-2.2 7.8-6.8l2-1.8c.7-.6 1.3-1.2 2-1.7C42.7 29.6 48 25 48 17.6c0-8-6-14.5-13.4-14.5z"></path>
          </svg>
          <svg aria-label="Comment" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path clip-rule="evenodd" d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z" fill-rule="evenodd"></path>
          </svg>
          <svg aria-label="Share Post" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM5.2 6.1h35.5L18 18.7 5.2 6.1zm18.7 33.6l-4.4-18.4L42.4 8.6 23.9 39.7z"></path>
          </svg>
          <svg aria-label="Save" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1zM24 26c.8 0 1.6.3 2.2.9l15.8 16V3H6v39.9l15.8-16c.6-.6 1.4-.9 2.2-.9z"></path>
          </svg>
        </div>
        <div class="data">
          <div class="likes">Liked by <strong>you</strong> and <strong>others</strong></div>
          <div class="description"><strong>florpep</strong></div>
          <time>2 hours ago</time>
        </div>
        <div class="comment">
          <div class="emote">
            <svg fill="#262626" height="24" role="img" viewBox="0 0 48 48" width="24">
              <path d="M24 48C10.8 48 0 37.2 0 24S10.8 0 24 0s24 10.8 24 24-10.8 24-24 24zm0-45C12.4 3 3 12.4 3 24s9.4 21 21 21 21-9.4 21-21S35.6 3 24 3z"></path>
              <path d="M34.9 24c0-1.4-1.1-2.5-2.5-2.5s-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5zm-21.8 0c0-1.4 1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5-2.5-1.1-2.5-2.5zM24 37.3c-5.2 0-8-3.5-8.2-3.7-.5-.6-.4-1.6.2-2.1.6-.5 1.6-.4 2.1.2.1.1 2.1 2.5 5.8 2.5 3.7 0 5.8-2.5 5.8-2.5.5-.6 1.5-.7 2.1-.2.6.5.7 1.5.2 2.1 0 .2-2.8 3.7-8 3.7z"></path>
            </svg>
          </div>
          <input type="text" placeholder="Add a comment...">
          <button>Post</button>
        </div>
      </footer>
    </article>
    <article>
      <header>
        <img width="32" height="32" src="https://avatars.dicebear.com/api/avataaars/juanitopiazze.svg">
        <h2><a href="https://instagram.com/juanitopiazze">juanitopiazze</a></h2>
      </header>
      <section>
        <div class="img-wrapper">
          <img src="https://i.imgur.com/sp3DJ1y.jpg" alt="juanitopiazze">
        </div>
      </section>
      <footer>
        <div class="actions">
          <svg aria-label="Like" height="24" viewBox="0 0 48 48" width="24">
            <path d="M34.6 6.1c5.7 0 10.4 5.2 10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12 10.6 16.5.6.5 1.3 1.1 1.9 1.7l2.3 2c4.4 3.9 6.6 5.9 7.6 6.5.5.3 1.1.5 1.6.5.6 0 1.1-.2 1.6-.5 1-.6 2.8-2.2 7.8-6.8l2-1.8c.7-.6 1.3-1.2 2-1.7C42.7 29.6 48 25 48 17.6c0-8-6-14.5-13.4-14.5z"></path>
          </svg>
          <svg aria-label="Comment" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path clip-rule="evenodd" d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z" fill-rule="evenodd"></path>
          </svg>
          <svg aria-label="Share Post" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM5.2 6.1h35.5L18 18.7 5.2 6.1zm18.7 33.6l-4.4-18.4L42.4 8.6 23.9 39.7z"></path>
          </svg>
          <svg aria-label="Save" fill="#262626" height="24" viewBox="0 0 48 48" width="24">
            <path d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1zM24 26c.8 0 1.6.3 2.2.9l15.8 16V3H6v39.9l15.8-16c.6-.6 1.4-.9 2.2-.9z"></path>
          </svg>
        </div>
        <div class="data">
          <div class="likes">Liked by <strong>you</strong> and <strong>others</strong></div>
          <div class="description"><strong>juanitopiazze</strong> Luján de cuyo . Mendoza . Argentina</div>
          <time>2 hours ago</time>
        </div>
        <div class="comment">
          <div class="emote">
            <svg fill="#262626" height="24" role="img" viewBox="0 0 48 48" width="24">
              <path d="M24 48C10.8 48 0 37.2 0 24S10.8 0 24 0s24 10.8 24 24-10.8 24-24 24zm0-45C12.4 3 3 12.4 3 24s9.4 21 21 21 21-9.4 21-21S35.6 3 24 3z"></path>
              <path d="M34.9 24c0-1.4-1.1-2.5-2.5-2.5s-2.5 1.1-2.5 2.5 1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5zm-21.8 0c0-1.4 1.1-2.5 2.5-2.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5-2.5-1.1-2.5-2.5zM24 37.3c-5.2 0-8-3.5-8.2-3.7-.5-.6-.4-1.6.2-2.1.6-.5 1.6-.4 2.1.2.1.1 2.1 2.5 5.8 2.5 3.7 0 5.8-2.5 5.8-2.5.5-.6 1.5-.7 2.1-.2.6.5.7 1.5.2 2.1 0 .2-2.8 3.7-8 3.7z"></path>
            </svg>
          </div>
          <input type="text" placeholder="Add a comment...">
          <button>Post</button>
        </div>
      </footer>
    </article>
  </div>
</main>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap");

:root {
  font-size: 14px;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: 0;
}

body {
  margin: 0;
  background-color: #fafafa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

h1 {
  font-family: "Dancing Script", sans-serif;
  font-weight: 700;
  margin: 0;
}

.container {
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

#mainHeader {
  border-bottom: 1px solid #dbdbdb;
  background-color: #ffffff;
  padding: 1rem 0;
  margin-bottom: 1rem;
}

main {
  padding-bottom: 1rem;
}

/* Article General */
article {
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  overflow: hidden;
}

article + article {
  margin-top: 1rem;
}

/* Article Header */
article header {
  z-index: 20;
  background: #ffffff;
  display: flex;
  width: 100%;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #dbdbdb;
}

article header h2 {
  margin: 0;
  margin-left: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: #262626;
}

article header h2 a {
  text-decoration: none;
  color: #262626;
}

article header img {
  display: block;
  height: 32px;
  width: 32px;
  padding: 2px;
  border-radius: 100%;
  border: 1px solid #262626;
}

/* Article Section */
article section {
  width: 100%;
  position: relative;
  height: auto;
}

article section .img-wrapper {
  padding-top: 100%;
  position: relative;
}

article section img {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* Article Footer */
article footer strong {
  font-weight: 600;
}

article footer svg {
  display: block;
}

article footer > * + * {
  margin-top: 1rem;
}

article footer > .actions,
article footer > .data > *,
article footer > .comment {
  padding-left: 1rem;
  padding-right: 1rem;
}
article footer > .data > * + * {
  margin-top: 0.5rem;
}

article footer .actions {
  padding-top: 1rem;
  display: flex;
}

article footer .actions > * + * {
  margin-left: 0.5rem;
}

article footer .actions > *:last-child {
  margin-left: auto;
  margin-right: 0;
}

article footer time {
  display: block;
  opacity: 0.6;
  font-size: 0.7rem;
  text-transform: uppercase;
}

article footer .comment {
  display: grid;
  grid-template-columns: auto 1fr 50px;
  align-items: center;
  gap: 0.15rem;
  margin-top: 1rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-top: 1px solid #dbdbdb;
}

article footer .comment input,
article footer .comment button {
  line-height: 1;
  background-color: #fff;
  padding: 0.5rem 1rem;
  border: 0;
}

article footer .comment button {
  color: #0095f6;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

article footer .comment input::placeholder {
  color: #262626ee;
}

              
            
!

JS

              
                /*
 * No copyright infringement intended.
 * All the pictures belong to the rightful owners,
 * Go check their work!
 *
 * https://www.instagram.com/alebonzo/
 * https://www.instagram.com/lazyahorro/
 * https://www.instagram.com/florpep/
 * https://www.instagram.com/juanitopiazze/
 */

              
            
!
999px

Console