Bootstrap snippet and html example. newsfeed friends 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.
Tags: friends,list,newsfeed,social network,profile,cards

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

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container">
    <div class="create-post">
        <div class="row">
            <div class="col-md-8">
                <div class="row">
            		<div class="col-md-7 col-sm-7">
                      <div class="form-group">
                        <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="img-thumbnail profile-photo-md" />
                        <textarea name="texts" id="exampleTextarea" cols="30" rows="1" class="form-control" placeholder="Write what you wish"></textarea>
                      </div>
                    </div>
                    <div class="col-md-5 col-sm-5">
                      <div class="tools">
                        <ul class="publishing-tools list-inline">
                          <li><a href="#"><i class="fa fa-pencil-square-o"></i></a></li>
                          <li><a href="#"><i class="fa fa-file-image-o"></i></a></li>
                          <li><a href="#"><i class="fa fa-video-camera"></i></a></li>
                          <li><a href="#"><i class="fa fa-map"></i></a></li>
                        </ul>
                        <button class="btn btn-primary pull-right">Publish</button>
                      </div>
                    </div>
            	</div>
        	</div>
    	</div>
    </div>
    
    <div class="friend-list">
        <div class="row">
            <div class="col-md-4 col-sm-6">
              <div class="friend-card">
                  <img src="https://www.bootdey.com/image/400x100/6495ED" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="user" class="profile-photo-lg">
                  <div class="friend-info">
                    <a href="#" class="pull-right text-green">My Friend</a>
                  	<h5><a href="timeline.html" class="profile-link">Sophia Lee</a></h5>
                  	<p>Student at Harvard</p>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="col-md-4 col-sm-6">
              <div class="friend-card">
                  <img src="https://www.bootdey.com/image/400x100/008B8B" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="user" class="profile-photo-lg">
                  <div class="friend-info">
                    <a href="#" class="pull-right text-green">My Friend</a>
                  	<h5><a href="timeline.html" class="profile-link">Sophia Lee</a></h5>
                  	<p>Student at Harvard</p>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="col-md-4 col-sm-6">
              <div class="friend-card">
                  <img src="https://www.bootdey.com/image/400x100/9932CC" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="user" class="profile-photo-lg">
                  <div class="friend-info">
                    <a href="#" class="pull-right text-green">My Friend</a>
                  	<h5><a href="timeline.html" class="profile-link">Sophia Lee</a></h5>
                  	<p>Student at Harvard</p>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="col-md-4 col-sm-6">
              <div class="friend-card">
                  <img src="https://www.bootdey.com/image/400x100/228B22" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="user" class="profile-photo-lg">
                  <div class="friend-info">
                    <a href="#" class="pull-right text-green">My Friend</a>
                  	<h5><a href="timeline.html" class="profile-link">Sophia Lee</a></h5>
                  	<p>Student at Harvard</p>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="col-md-4 col-sm-6">
              <div class="friend-card">
                  <img src="https://www.bootdey.com/image/400x100/20B2AA" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="user" class="profile-photo-lg">
                  <div class="friend-info">
                    <a href="#" class="pull-right text-green">My Friend</a>
                  	<h5><a href="timeline.html" class="profile-link">Sophia Lee</a></h5>
                  	<p>Student at Harvard</p>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="col-md-4 col-sm-6">
              <div class="friend-card">
                  <img src="https://www.bootdey.com/image/400x100/FF4500" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="user" class="profile-photo-lg">
                  <div class="friend-info">
                    <a href="#" class="pull-right text-green">My Friend</a>
                  	<h5><a href="timeline.html" class="profile-link">Sophia Lee</a></h5>
                  	<p>Student at Harvard</p>
                  </div>
                </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 3.3.7 included, to get the result that you can see in the preview selection

body{
    margin-top:20px;
    background:#FAFAFA
}
img.profile-photo-md {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

/*==================================================
  Create Post Box CSS
  ==================================================*/

.create-post{
  width: 100%;
  min-height: 90px;
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f2f2;
}

.create-post .form-group{
  margin-bottom: 0;
  display: inline-flex;
}

.create-post .form-group .form-control{
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.create-post .form-group img.profile-photo-md{
  margin-right: 10px;
}

.create-post .tools{
  padding: 8px 0 10px;
}

.create-post .tools ul.publishing-tools{
  display: inline-block;
  text-align:left;
  margin: 0;
  padding:5px 0;
}

.create-post .tools ul.publishing-tools li a{
  color: #6d6e71;
  font-size: 18px;
}

.create-post .tools ul.publishing-tools li a:hover{
  color: #27aae1;
}

.list-inline>li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}


/*==================================================
  Friend List CSS = Newsfeed and Timeline
  ==================================================*/

.friend-list .friend-card{
  border-radius: 4px;
  border-bottom: 1px solid #f1f2f2;
  overflow: hidden;
  margin-bottom: 20px;
}

.friend-list .friend-card .card-info{
  padding: 0 20px 10px;
}

.friend-list .friend-card .card-info img.profile-photo-lg{
  margin-top: -60px;
  border: 7px solid #fff;
}

img.profile-photo-lg {
    height: 80px;
    width: 80px;
    border-radius: 50%;
}

.text-green {
    color: #8dc63f;
}

Similar snippets

Bootstrap example and template. bs4 social profile

bs4 social profile

Bootstrap example and template. bs4 beta user profile with activities

bs4 beta user profile with activities

Bootstrap example and template. bs4 beta Messages list

bs4 beta Messages list

Bootstrap example and template. user personal information profile

user personal information profile

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. Whatsapp web chat template

Whatsapp web chat template

Bootstrap example and template. animated chat window

animated chat window

Bootstrap example and template. owl carousel courses

owl carousel courses

Bootstrap example and template. newsfeed friends 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 15.6K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.7

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

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

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