Bootstrap snippet and html example. newsfeed friends list

Bootstrap 3.3.7 snippet "newsfeed friends list" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: friends,list,newsfeed,social network,profile,cards

HTML code

Clean, semantic HTML that powers this Bootstrap 3.3.7 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<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

Scoped CSS that styles the component. Paste it after Bootstrap 3.3.7 to keep the design, spacing, and responsiveness consistent.

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. bs5 edit profile account details

bs5 edit profile account details

Bootstrap example and template. Colored user cards

Colored user cards

Bootstrap example and template. Update user profile

Update user profile

Bootstrap example and template. Image Cards

Image Cards

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. Bootstrap Gallery with Modal Lightbox and Carousel

Bootstrap Gallery with Modal Lightbox and Carousel

Bootstrap example and template. microsoft metro tiles bootstrap

microsoft metro tiles bootstrap

Bootstrap example and template. friend zone user list

friend zone user list

FAQ

How do I use this snippet?

Include Bootstrap 3.3.7, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.3.7.

Bootstrap example and template. newsfeed friends list

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 17.5K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

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