Bootstrap snippet and html example. bs4 tree comments

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: user,profile,cover,social-network

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 4.1.1 included, to get the result that you can see in the preview selection

<div class="col-lg-6">
<div class="card mb-4">
  <div class="card-header">
    <div class="title-text">Tree comments</div>
  </div>
  <div class="card-body">

    <div class="media pb-1 mb-3">
      <img src="https://uxpowered.com/products/appwork/v110/assets_/img/avatars/9-small.png" class="d-block ui-w-40 rounded-circle" alt>
      <div class="media-body ml-3">
        <a href="#">Amanda Warner</a>
        <span class="text-muted">commented on</span>
        <a href="#">Article Name</a>
        <p class="my-1">Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo.</p>
        <div class="clearfix">
          <a href="#" class="float-right text-lightest small">
            <span class="ion ion-ios-thumbs-down"></span>
          </a>
          <a href="#" class="float-right text-lightest small">
            <span class="ion ion-ios-thumbs-up mr-2"></span>
          </a>
          <span class="float-left text-muted small">2 hours ago</span>
        </div>

        <div class="media pt-1 mt-3">
          <img src="https://uxpowered.com/products/appwork/v110/assets_/img/avatars/9-small.png" class="d-block ui-w-30 rounded-circle" alt>
          <div class="media-body ml-3">
            <a href="#">Hallie Lewis</a>
            <span class="text-muted">commented on</span>
            <a href="#">Article Name</a>
            <p class="my-1">Vivendum torquatos ut nec, sit audiam deterruisset ei, cu sed nibh autem scriptorem. Ea quo vidit deleniti constituto, ex qui malis mollis iudicabit, viris fabellas id has.</p>
            <div class="clearfix">
              <a href="#" class="float-right text-lightest small">
                <span class="ion ion-ios-thumbs-down"></span>
              </a>
              <a href="#" class="float-right text-lightest small">
                <span class="ion ion-ios-thumbs-up mr-2"></span>
              </a>
              <span class="float-left text-muted small">2 hours ago</span>
            </div>
          </div>
        </div>

        <div class="media pt-1 mt-3">
          <img src="https://uxpowered.com/products/appwork/v110/assets_/img/avatars/9-small.png" class="d-block ui-w-30 rounded-circle" alt>
          <div class="media-body ml-3">
            <a href="#">Alice Hampton</a>
            <span class="text-muted">commented on</span>
            <a href="#">Article Name</a>
            <p class="my-1">Eam facilis laboramus reprehendunt ei, ex esse fastidii per.</p>
            <div class="clearfix">
              <a href="#" class="float-right text-lightest small">
                <span class="ion ion-ios-thumbs-down"></span>
              </a>
              <a href="#" class="float-right text-lightest small">
                <span class="ion ion-ios-thumbs-up mr-2"></span>
              </a>
              <span class="float-left text-muted small">2 hours ago</span>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="media">
      <img src="https://uxpowered.com/products/appwork/v110/assets_/img/avatars/9-small.png" class="d-block ui-w-40 rounded-circle" alt>
      <div class="media-body ml-3">
        <a href="#">Mae Gibson</a>
        <span class="text-muted">commented on</span>
        <a href="#">Article Name</a>
        <p class="my-1">Ea inani epicurei mea. No docendi antiopam quo, ad dicant viderer cotidieque vix. Ea mea dicat ludus, utroque explicari conclusionemque ius eu, in scaevola tractatos persecuti per.</p>
        <div class="clearfix">
          <a href="#" class="float-right text-lightest small">
            <span class="ion ion-ios-thumbs-down"></span>
          </a>
          <a href="#" class="float-right text-lightest small">
            <span class="ion ion-ios-thumbs-up mr-2"></span>
          </a>
          <span class="float-left text-muted small">2 hours ago</span>
        </div>
      </div>
    </div>

  </div>
</div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 4.1.1 included, to get the result that you can see in the preview selection

body{margin-top:20px;}
.ui-w-40 {
    width: 40px !important;
    height: auto;
}
.ui-w-30 {
    width: 30px !important;
    height: auto;
}

Similar snippets

Bootstrap example and template. User Profile with tabs

User Profile with tabs

Bootstrap example and template. user presentation profile with description

user presentation profile with description

Bootstrap example and template. bs4 social profile header

bs4 social profile header

Bootstrap example and template. profile edit data and skills

profile edit data and skills

Bootstrap example and template. about me

about me

Bootstrap example and template. bs4 profile header card

bs4 profile header card

Bootstrap example and template. Css Player User Cards

Css Player User Cards

Bootstrap example and template. Gradients dashboard cards

Gradients dashboard cards

Bootstrap example and template. bs4 tree comments

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 689 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.1.1

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

This code example is based on bootstrap 4.1.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working