newsfeed friends list

Bootstrap snippet. newsfeed friends list, this snippet was created to help web designers,
front-end developers and back-end developer save time. Use it 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

Copy, paste, change, customize and run the following HTML code to get a result like the one shown 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="http://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="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="http://lorempixel.com/400/100/sports/1/" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="http://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="http://lorempixel.com/400/100/sports/2/" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="http://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="http://lorempixel.com/400/100/sports/3/" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="http://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="http://lorempixel.com/400/100/sports/5/" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="http://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="http://lorempixel.com/400/100/sports/7/" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="http://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="http://lorempixel.com/400/100/sports/6/" alt="profile-cover" class="img-responsive cover">
                  <div class="card-info">
                  <img src="http://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

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown 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 snippet bs4 project list with progress

bs4 project list with progress

View

Bootstrap snippet bs4 Home Contacts

bs4 Home Contacts

View

Bootstrap snippet bs4 widget image cards

bs4 widget image cards

View

About this snippet

Creator: Dey Dey

Bootstrap version: 3.3.7

Created: Dec 31st 2017, 18:02

Views: 3.4K

Rated 5/5 based on 17 reviews