Bootstrap snippet and html example. blue chat

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: users,chat,profile,social

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




<div class="container-fluid main-content bootstrap snippets bootdeys">
        <div class="page-title">
          <h1>
            Chat
          </h1>
        </div>
        <div class="row">
          <!-- Conversation -->
          <div class="col-lg-12">
            <div class="widget-container scrollable chat chat-page">
              <div class="contact-list">
                <div class="heading">
                  Contacts (15)<i class="fa fa-plus pull-right"></i>
                </div>
                <ul>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.png">Walter White<i class="fa fa-circle text-danger"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female2.png">Jessie Pinkman<i class="fa fa-circle text-success"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">Skyler White<i class="fa fa-circle text-warning"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.png">Flynn White<i class="fa fa-circle text-danger"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female2.png">Hank Schrader<i class="fa fa-circle text-muted"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">Marie Schrader<i class="fa fa-circle text-success"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.png">Steve Gomez<i class="fa fa-circle text-warning"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female2.png">Saul Goodman<i class="fa fa-circle text-success"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">Mike Ehrmantraut<i class="fa fa-circle text-success"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.png">Gustavo Fring<i class="fa fa-circle text-muted"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female2.png">Skinny Pete<i class="fa fa-circle text-muted"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">Badger<i class="fa fa-circle text-success"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.png">Gale Boetticher<i class="fa fa-circle text-warning"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female2.png">Huell<i class="fa fa-circle text-muted"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">Ted Beneke<i class="fa fa-circle text-success"></i></a>
                  </li>
                  <li>
                    <a href="#"><img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.png">Bogdan Wolynetz<i class="fa fa-circle text-warning"></i></a>
                  </li>
                </ul>
              </div>
              <div class="heading">
                <i class="fa fa-comments"></i>Chat with <a href="#">John Smith</a><i class="fa fa-cog pull-right"></i><i class="fa fa-smile-o pull-right"></i>
              </div>
              <div class="widget-content padded">
                <ul>
                  <li>
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">John Smith</a>
                      <p class="message">
                        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li class="current-user">
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">Jane Smith</a>
                      <p class="message">
                        Donec odio. Quisque volutpat mattis eros.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li>
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">John Smith</a>
                      <p class="message">
                        Sed egestas, ante et vulputate volutpat, eros pede semper est, vitae luctus metus libero eu augue. Morbi purus libero, faucibus adipiscing, commodo quis, gravida id, est. Sed lectus. Praesent elementum hendrerit tortor. Sed semper lorem at felis. Vestibulum volutpat, lacus a ultrices sagittis, mi neque euismod dui, eu pulvinar nunc sapien ornare nisl.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li>
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">John Smith</a>
                      <p class="message">
                        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li class="current-user">
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">Jane Smith</a>
                      <p class="message">
                        Morbi interdum mollis sapien. Sed ac risus. Phasellus lacinia, magna a ullamcorper laoreet, lectus arcu pulvinar risus, vitae facilisis libero dolor a purus. Sed vel lacus. Mauris nibh felis, adipiscing varius, adipiscing in, lacinia vel, tellus. Suspendisse ac urna. Etiam pellentesque mauris ut lectus. Nunc tellus ante, mattis eget, gravida vitae, ultricies ac, leo.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li>
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">John Smith</a>
                      <p class="message">
                        Donec odio. Quisque volutpat mattis eros.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li class="current-user">
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">Jane Smith</a>
                      <p class="message">
                        Suspendisse mauris. Fusce accumsan mollis eros. Pellentesque a diam sit amet mi ullamcorper vehicula. Integer adipiscing risus a sem. Nullam quis massa sit amet nibh viverra malesuada.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li class="current-user">
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">Jane Smith</a>
                      <p class="message">
                        Ut convallis, sem sit amet interdum consectetuer, odio augue aliquam leo, nec dapibus tortor nibh sed augue. Integer eu magna sit amet metus fermentum posuere. Morbi sit amet nulla sed dolor elementum imperdiet. Quisque fermentum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque adipiscing eros ut libero. Ut condimentum mi vel tellus. Suspendisse laoreet. 
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li>
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">John Smith</a>
                      <p class="message">
                        Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li class="current-user">
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-female.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">Jane Smith</a>
                      <p class="message">
                        Sem sit amet interdum consectetuer, odio augue aliquam leo, nec dapibus tortor nibh sed augue. Integer eu magna sit amet metus fermentum posuere. Morbi sit amet nulla sed dolor elementum imperdiet. Quisque fermentum. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. 
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                  <li>
                    <img width="30" height="30" src="http://andrewreifman.com/se7en/images/avatar-male.jpg">
                    <div class="bubble">
                      <a class="user-name" href="#">John Smith</a>
                      <p class="message">
                        Consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros.
                      </p>
                      <p class="time">
                        <strong>Today </strong>3:53 pm
                      </p>
                    </div>
                  </li>
                </ul>
              </div>
              <div class="post-message">
                <input class="form-control" placeholder="Write your message here…" type="text"><input type="submit" value="Send">
              </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 3.3.6 included, to get the result that you can see in the preview selection




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

.main-content {
  padding-bottom: 20px; }
  
  .chat {
  padding-bottom: 52px; }
  .chat .widget-content {
    padding-right: 20px;
    background-color: white; }
    .chat .widget-content .scrollbar-path-vertical {
      bottom: 56px !important; }
    .chat .widget-content ul {
      list-style: none;
      padding: 0; }
      .chat .widget-content ul li {
        margin-bottom: 14px;
        padding-left: 40px;
        padding-right: 80px;
        position: relative; }
        .chat .widget-content ul li:last-child {
          margin-bottom: 0; }
        .chat .widget-content ul li img {
          position: absolute;
          bottom: -2px;
          left: 0;
          border-radius: 50%; }
        .chat .widget-content ul li .bubble {
          padding: 12px 15px;
          background: #e5e5ea;
          border-radius: 15px;
          position: relative; }
          .chat .widget-content ul li .bubble:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: -5px;
            background: url("http://andrewreifman.com/se7en/images/chat-left.png") left top no-repeat;
            width: 13px;
            height: 13px;
            display: block; }
            @media (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 2.6 / 2), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx) {
              .chat .widget-content ul li .bubble:after {
                background-image: url("http://andrewreifman.com/se7en/images/[email protected]");
                background-size: 13px 13px; } }
          .chat .widget-content ul li .bubble .user-name {
            font-size: 1.1em;
            margin-bottom: 8px;
            display: inline-block; }
          .chat .widget-content ul li .bubble p.message {
            font-size: 0.95em;
            margin-bottom: 12px;
            color: #333333; }
          .chat .widget-content ul li .bubble .time {
            font-size: 0.8em;
            color: #888888;
            margin-bottom: 0; }
        .chat .widget-content ul li.current-user {
          padding-right: 40px;
          padding-left: 80px; }
          .chat .widget-content ul li.current-user img {
            right: 0;
            left: auto; }
          .chat .widget-content ul li.current-user .bubble {
            background: #178efe; }
            .chat .widget-content ul li.current-user .bubble:after {
              background: url("http://andrewreifman.com/se7en/images/chat-right.png") left top no-repeat;
              left: auto;
              right: -6px; }
              @media (min--moz-device-pixel-ratio: 1.3), (-o-min-device-pixel-ratio: 2.6 / 2), (-webkit-min-device-pixel-ratio: 1.3), (min-device-pixel-ratio: 1.3), (min-resolution: 1.3dppx) {
                .chat .widget-content ul li.current-user .bubble:after {
                  background-image: url("http://andrewreifman.com/se7en/images/[email protected]");
                  background-size: 13px 13px; } }
          .chat .widget-content ul li.current-user p, .chat .widget-content ul li.current-user a {
            color: white !important; }
          .chat .widget-content ul li.current-user .time {
            opacity: 0.75; }
  .chat .post-message {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52px;
    padding: 8px 60px 8px 8px;
    background: #f2f2f2;
    border-top: 1px solid #cccccc; }
    .chat .post-message input[type="text"] {
      width: 100%;
      height: 100%; }
    .chat .post-message input[type="submit"] {
      position: absolute;
      top: 12px;
      right: 10px;
      margin: 0;
      border: 0;
      background: transparent;
      color: #007aff;
      font-weight: 600;
      font-size: 14px; }

.widget-container.chat-page {
  height: 700px;
  padding: 0 0 102px 222px;
  position: relative;
  background-color: #f2f2f2; }
  .widget-container.chat-page .contact-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 222px;
    height: 100%;
    border-right: 1px solid #dddddd;
    padding-top: 50px; }
    .widget-container.chat-page .contact-list .heading {
      background-color: transparent;
      color: #777777;
      border-bottom: 1px solid #d6d6d6;
      font-size: 16px;
      padding-top: 12px;
      padding-bottom: 14px;
      background-color: #f2f2f2;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%; }
      .widget-container.chat-page .contact-list .heading i {
        margin-top: 4px;
        font-size: 1em; }
    .widget-container.chat-page .contact-list ul {
      list-style: none;
      padding-left: 15px;
      margin: 0;
      overflow-y: auto;
      overflow-x: hidden;
      height: 100%; }
      .widget-container.chat-page .contact-list ul li {
        border-bottom: 1px solid #d6d6d6;
        margin: 0; }
        .widget-container.chat-page .contact-list ul li a {
          display: block;
          position: relative;
          left: -15px;
          width: 220px;
          padding-left: 15px;
          padding: 8px 0 8px 15px;
          color: #888888; }
          .widget-container.chat-page .contact-list ul li a:hover {
            background-color: #e6e6e6;
            color: #666666; }
        .widget-container.chat-page .contact-list ul li img {
          border-radius: 50%;
          margin-right: 10px; }
        .widget-container.chat-page .contact-list ul li i {
          font-size: 12px;
          float: right;
          margin: 9px 20px 0 0; }
  .widget-container.chat-page > .heading {
    position: relative !important; }
  .widget-container.chat-page .post-message {
    position: relative; }

Similar snippets

Bootstrap example and template. Profile settings

Profile settings

Bootstrap example and template. bs4 beta user profile info with posts

bs4 beta user profile info with posts

Bootstrap example and template. User profile account setting

User profile account setting

Bootstrap example and template. Profile with timeline

Profile with timeline

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. profile with data and skills

profile with data and skills

Bootstrap example and template. profile with followers with cover photo

profile with followers with cover photo

Bootstrap example and template. chat app

chat app

Bootstrap example and template. blue chat

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

Bootstrap 3.3.6

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.6 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