Bootstrap snippet and html example. bs4 groups list

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.

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

<section class="container">
                <div class="content__inner">
                    <header class="content__title">
                        <h1>Groups</h1>

                        <div class="actions">
                            <a href="" class="actions__item zmdi zmdi-trending-up"></a>
                            <a href="" class="actions__item zmdi zmdi-check-all"></a>

                            <div class="dropdown actions__item">
                                <i data-toggle="dropdown" class="zmdi zmdi-more-vert"></i>
                                <div class="dropdown-menu dropdown-menu-right">
                                    <a href="" class="dropdown-item">Refresh</a>
                                    <a href="" class="dropdown-item">Manage Widgets</a>
                                    <a href="" class="dropdown-item">Settings</a>
                                </div>
                            </div>
                        </div>
                    </header>

                    <div class="toolbar">
                        <div class="toolbar__label">
                            125 Groups
                        </div>

                        <div class="actions">
                            <i class="actions__item zmdi zmdi-search" data-sa-action="toolbar-search-open"></i>
                            <a href="" class="actions__item zmdi zmdi-info-outline hidden-xs-down"></a>

                            <div class="dropdown actions__item hidden-xs-down">
                                <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>
                                <div class="dropdown-menu dropdown-menu-right">
                                    <a href="" class="dropdown-item">Refresh</a>
                                    <a href="" class="dropdown-item">Delete</a>
                                    <a href="" class="dropdown-item">Settings</a>
                                </div>
                            </div>
                        </div>

                        <div class="toolbar__search">
                            <input type="text" placeholder="Search...">

                            <i class="toolbar__search__close zmdi zmdi-long-arrow-left" data-sa-action="toolbar-search-close"></i>
                        </div>
                    </div>

                    <div class="row groups">
                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
                                    </div>

                                    <div class="groups__info">
                                        <strong>Sold Properties</strong>
                                        <small>106 Contacts</small>
                                    </div>
                                </a>

                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <div class="avatar-img avatar-char">A</div>
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
                                        <div class="avatar-img avatar-char">D</div>
                                    </div>

                                    <div class="groups__info">
                                        <strong>San Fransisco</strong>
                                        <small>12 Contacts</small>
                                    </div>
                                </a>

                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="">
                                        <div class="avatar-img avatar-char">E</div>
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                    </div>

                                    <div class="groups__info">
                                        <strong>Pending Leads</strong>
                                        <small>42 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
                                        <div class="avatar-img avatar-char"></div>
                                    </div>

                                    <div class="groups__info">
                                        <strong>Management</strong>
                                        <small>3 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
                                    </div>

                                    <div class="groups__info">
                                        <strong>Colleagues</strong>
                                        <small>22 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <div class="avatar-img avatar-char">E</div>
                                        <div class="avatar-img avatar-char">T</div>
                                        <div class="avatar-img avatar-char">O</div>
                                        <div class="avatar-img avatar-char">G</div>
                                    </div>

                                    <div class="groups__info">
                                        <strong>Los Angeles</strong>
                                        <small>27 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                        <div class="avatar-img avatar-char"></div>
                                        <div class="avatar-img avatar-char"></div>
                                        <div class="avatar-img avatar-char"></div>
                                    </div>

                                    <div class="groups__info">
                                        <strong>Out Sourcing</strong>
                                        <small>1 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <div class="avatar-img avatar-char">Z</div>
                                        <div class="avatar-img avatar-char">R</div>
                                        <div class="avatar-img avatar-char">N</div>
                                        <div class="avatar-img avatar-char">B</div>
                                    </div>

                                    <div class="groups__info">
                                        <strong>San Diego</strong>
                                        <small>243 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
                                    </div>

                                    <div class="groups__info">
                                        <strong>Communication</strong>
                                        <small>96 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <div class="avatar-img avatar-char"></div>
                                        <div class="avatar-img avatar-char"></div>
                                        <div class="avatar-img avatar-char"></div>
                                        <div class="avatar-img avatar-char"></div>
                                    </div>

                                    <div class="groups__info">
                                        <strong>Not varified</strong>
                                        <small>0 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
                                        <div class="avatar-img avatar-char">G</div>
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="">
                                    </div>

                                    <div class="groups__info">
                                        <strong>Email List</strong>
                                        <small>10 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="col-xl-2 col-lg-3 col-sm-4 col-6">
                            <div class="groups__item">
                                <a href="">
                                    <div class="groups__img">
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                        <div class="avatar-img avatar-char">G</div>
                                        <div class="avatar-img avatar-char">L</div>
                                        <img class="avatar-img" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
                                    </div>

                                    <div class="groups__info">
                                        <strong>Connected</strong>
                                        <small>178 Contacts</small>
                                    </div>
                                </a>
                                <div class="actions">
                                    <div class="dropdown actions__item">
                                        <i class="zmdi zmdi-more-vert" data-toggle="dropdown"></i>

                                        <div class="dropdown-menu dropdown-menu-right">
                                            <a class="dropdown-item" href="">Edit</a>
                                            <a class="dropdown-item" href="" data-demo-action="delete-listing">Delete</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </section>

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;}

.groups__item,
.messages {
    background-color: rgba(0, 0, 0, .2);
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1)
}

@media (max-width:575px) {
    .groups {
        margin: 0 -5px
    }
    .groups [class*=col-] {
        padding: 0 5px
    }
    .groups .groups__item {
        margin-bottom: 10px
    }
}

.groups__item {
    position: relative;
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 30px
}

.groups__item:hover .actions {
    opacity: 1
}

.groups__item .actions {
    position: absolute;
    top: .7rem;
    right: .5rem;
    z-index: 1;
    opacity: 0
}

.groups__img {
    width: 6.5rem;
    display: inline-block
}

.groups__img .avatar-img {
    display: inline-block;
    margin: 0 1px 4px 0;
    vertical-align: top
}

.avatar-char, .avatar-img {
    border-radius: 2px;
    width: 3rem;
    height: 3rem;
    margin-right: 1.2rem;
}

.avatar-char {
    color: #fff;
    background-color: rgba(255,255,255,.08);
}

.avatar-char {
    line-height: 2.9rem;
    font-size: 1.2rem;
    text-align: center;
    font-style: normal;
}

.groups__info {
    margin-top: 1rem
}

.groups__info>strong {
    color: #fff;
    display: block;
    font-weight: 600
}

.messages,
.messages__body {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-direction: normal
}

.groups__info>small {
    font-size: .9rem;
    color: rgba(255, 255, 255, .7)
}


.toolbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    height: 4.5rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: .05rem 2.2rem 0;
    position: relative
}

.toolbar:not(.toolbar--inner) {
    background-color: rgba(0, 0, 0, .2);
    border-radius: 2px;
    margin-bottom: 30px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1)
}

.toolbar .actions {
    margin: .05rem -.8rem 0 auto
}

.toolbar--inner {
    margin-bottom: 1rem;
    border-radius: 2px 2px 0 0;
    background-color: rgba(0, 0, 0, .1)
}

.toolbar__nav {
    white-space: nowrap;
    overflow-x: auto
}

.toolbar__nav>a {
    display: inline-block;
    transition: color .3s
}

.toolbar__nav>a+a {
    padding-left: 1rem
}

.toolbar__nav>a.active,
.toolbar__nav>a:hover {
    color: rgba(255, 255, 255, .85)
}

.toolbar__search {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    padding-left: 3rem;
    display: none;
    background-color: rgba(0, 0, 0, .96)
}

.toolbar__search input[type=text] {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0 1.6rem;
    font-size: 1.2rem;
    background-color: transparent;
    color: rgba(255, 255, 255, .85)
}

.toolbar__search input[type=text]::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search input[type=text]:-moz-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search input[type=text]::-moz-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search input[type=text]:-ms-input-placeholder {
    color: rgba(255, 255, 255, .5)
}

.toolbar__search__close,
.toolbar__search__close:hover {
    color: rgba(255, 255, 255, .85)
}

.toolbar__search__close {
    transition: color .3s;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    left: 1.8rem;
    font-size: 1.5rem
}

.toolbar__label {
    margin: 0;
    font-size: 1.1rem
}

Similar snippets

Bootstrap example and template. job categories cards

job categories cards

Bootstrap example and template. bs4 beta user profile with activities

bs4 beta user profile with activities

Bootstrap example and template. Creative Member Area

Creative Member Area

Bootstrap example and template. Profile widget

Profile widget

Bootstrap example and template. user profile bio graph and total sales

user profile bio graph and total sales

Bootstrap example and template. Ecommerce checkout with customer info and order summary

Ecommerce checkout with customer info and order summary

Bootstrap example and template. chat app

chat app

Bootstrap example and template. white chat

white chat

Bootstrap example and template. bs4 groups list

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 4.9K 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