Bootstrap snippet. card with join and location

This snippet was created to help web designers, 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: card

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 5.2.0 included, to get the result that you can see in the preview selection

Download
<div class="container">
<div class="row">
    <div class="col-xl-4 col-md-4 mb-3 mb-lg-5">
          <!--Card-->
          <div class="card overflow-hidden text-center">
            <img src="https://www.bootdey.com/image/280x120/6495ED/000000" class="card-img-top img-fluid" alt="">
    
            <!--Card body-->
            <div class="card-body p-0">
              <!--avatar-->
              <a href="#!.html" class="avatar xl rounded-circle bg-gray bg-opacity-10 p-1 position-relative mt-n5 d-block mx-auto">
                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" class="avatar-img img-fluid rounded-circle" alt="">
              </a>
              <h5 class="mb-0 pt-3">
                <a href="#!.html" class="text-reset">Noah Pierre</a>
              </h5>
              <span class="text-muted small d-block mb-4">Full stack developer</span>
              <div class="row mx-0 border-top border-bottom">
                <div class="col-6 text-center border-end py-3">
                  <h5 class="mb-0">2345</h5>
                  <small class="text-muted">Followers</small>
                </div>
                <div class="col-6 text-center py-3">
                  <h5 class="mb-0">54</h5>
                  <small class="text-muted">Following</small>
                </div>
              </div>
              <ul class="list-group list-group-flush">
                <li class="list-group-item px-3 d-flex align-items-center justify-content-between">
                  <span class="text-muted small">Join</span>
                  <strong>April 2014</strong>
                </li>
                <li class="list-group-item px-3 d-flex align-items-center justify-content-between">
                  <span class="text-muted small">Location</span>
                  <strong>Barcelona, Spain</strong>
                </li>
                <li class="list-group-item px-3 d-flex align-items-center justify-content-between">
                  <span class="text-muted small d-flex align-items-center">
                    <span class="align-middle lh-1 me-1 size-5 border border-4 border-success rounded-circle d-inline-block"></span>
                    Online
                  </span>
                  <div class="text-end">
                    <a href="#!.html" class="btn btn-sm btn-primary">Follow</a>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </div>
        
        
    <div class="col-xl-4 col-md-4 mb-3 mb-lg-5">
          <!--Card-->
          <div class="card overflow-hidden text-center">
            <img src="https://www.bootdey.com/image/280x120/FFB6C1/000000" class="card-img-top img-fluid" alt="">
    
            <!--Card body-->
            <div class="card-body p-0">
              <!--avatar-->
              <a href="#!.html" class="avatar xl rounded-circle bg-gray bg-opacity-10 p-1 position-relative mt-n5 d-block mx-auto">
                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="avatar-img img-fluid rounded-circle" alt="">
              </a>
              <h5 class="mb-0 pt-3">
                <a href="#!.html" class="text-reset">Noah Pierre</a>
              </h5>
              <span class="text-muted small d-block mb-4">Full stack developer</span>
              <div class="row mx-0 border-top border-bottom">
                <div class="col-6 text-center border-end py-3">
                  <h5 class="mb-0">2345</h5>
                  <small class="text-muted">Followers</small>
                </div>
                <div class="col-6 text-center py-3">
                  <h5 class="mb-0">54</h5>
                  <small class="text-muted">Following</small>
                </div>
              </div>
              <ul class="list-group list-group-flush">
                <li class="list-group-item px-3 d-flex align-items-center justify-content-between">
                  <span class="text-muted small">Join</span>
                  <strong>April 2014</strong>
                </li>
                <li class="list-group-item px-3 d-flex align-items-center justify-content-between">
                  <span class="text-muted small">Location</span>
                  <strong>Barcelona, Spain</strong>
                </li>
                <li class="list-group-item px-3 d-flex align-items-center justify-content-between">
                  <span class="text-muted small d-flex align-items-center">
                    <span class="align-middle lh-1 me-1 size-5 border border-4 border-success rounded-circle d-inline-block"></span>
                    Online
                  </span>
                  <div class="text-end">
                    <a href="#!.html" class="btn btn-sm btn-primary">Follow</a>
                  </div>
                </li>
              </ul>
            </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 5.2.0 included, to get the result that you can see in the preview selection

Download
body{margin-top:20px;
background:#eee;
}

.avatar.xl {
    width: 5rem;
    height: 5rem;
    font-size: 1.09375rem;
}

.avatar img {
    max-width: 100%;
    display: block;
}

.rounded-circle {
    border-radius: 50%!important;
}

.rounded-circle {
    border-radius: 50%!important;
}

.bg-opacity-10 {
    --bs-bg-opacity: 0.1;
}
.bg-gray {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-gray-rgb),var(--bs-bg-opacity))!important;
}
.p-1 {
    padding: 0.25rem!important;
}
.mt-n5 {
    margin-top: -1.5rem!important;
}
.mx-auto {
    margin-right: auto!important;
    margin-left: auto!important;
}
.position-relative {
    position: relative!important;
}
.d-block {
    display: block!important;
}
a {
    color: var(--bs-link-color);
    text-decoration: none;
}

Similar snippets

Bootstrap Card user transfer list example

Card user transfer list

Bootstrap card activity example

card activity

Bootstrap User grid example

User grid

Bootstrap light contact list example

light contact list

Bootstrap bs5 dark footer example

bs5 dark footer

Bootstrap Event Schedule list example

Event Schedule list

Bootstrap bs5 edit profile account details example

bs5 edit profile account details

Bootstrap bs5 profile billing page example

bs5 profile billing page

Bootstrap card with join and location example

About this bootstrap snippet

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 snippet currectly have 856 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 5.2.0

This snippet is based on bootstrap 5.2.0 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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

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