Bootstrap snippet and html example. Latest Tweet

Bootstrap 3.3.6 snippet "Latest Tweet" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: Tweet,profile,social

HTML code

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

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<div class="container">
    <div class="row">
    <div class="col-xs-12 col-md-4 col-lg-4 bootstrap snippets bootdeys">
    	<div class="widget panel">
    	  <div class="panel-body">
    	    <h4 class="mb0">Latest Tweet
    	      <i class="fa fa-twitter text-info pull-right"></i>
    	    </h4>
    	    <hr>
    	    <ul class="list-table">
    	      <li style="width:70px;">
    	        <img class="img-circle img-bordered-primary" src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="" width="65px" height="65px">
    	      </li>
    	      <li class="text-left">
    	        <h5 class="semibold ellipsis nm">Colt Jenkins</h5>
    	        <p class="text-muted nm">5k followers</p>
    	      </li>
    	      <li class="text-right">
    	        <button type="button" class="btn btn-sm btn-success">Follow</button>
    	      </li>
    	    </ul>
    	  </div>
    
    	  <ul class="list-group">
    	    <li class="list-group-item">
    	      <p class="nm">Lorem ipsum dolor sit amet, consectetur <a href="javascript:void(0);">#adipisicing</a> elit, sed do eiusmod.</p>
    	      <small class="text-muted">1 day ago</small>
    	    </li>
    	    <li class="list-group-item">
    	      <p class="nm">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui <a href="javascript:void(0);">@officia</a> deserunt mollit anim id est laborum.</p>
    	      <small class="text-muted">2 day ago</small>
    	    </li>
    	    <li class="list-group-item">
    	      <p class="nm">Duis aute irure dolor in <a href="javascript:void(0);">tweet.er</a> in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
    	      <small class="text-muted">3 day ago</small>
    	    </li>
    	  </ul>
    	</div>
    </div>
    
    <div class="col-xs-12 col-md-4 col-lg-4 bootstrap snippets bootdeys">
    	<div class="widget panel">
    	  <div class="panel-body">
    	    <h4 class="mb0">Latest Tweet
    	      <i class="fa fa-twitter text-info pull-right"></i>
    	    </h4>
    	    <hr>
    	    <ul class="list-table">
    	      <li style="width:70px;">
    	        <img class="img-circle img-bordered-primary" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" width="65px" height="65px">
    	      </li>
    	      <li class="text-left">
    	        <h5 class="semibold ellipsis nm">Colt Jenkins</h5>
    	        <p class="text-muted nm">5k followers</p>
    	      </li>
    	      <li class="text-right">
    	        <button type="button" class="btn btn-sm btn-success">Follow</button>
    	      </li>
    	    </ul>
    	  </div>
    
    	  <ul class="list-group">
    	    <li class="list-group-item">
    	      <p class="nm">Lorem ipsum dolor sit amet, consectetur <a href="javascript:void(0);">#adipisicing</a> elit, sed do eiusmod.</p>
    	      <small class="text-muted">1 day ago</small>
    	    </li>
    	    <li class="list-group-item">
    	      <p class="nm">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui <a href="javascript:void(0);">@officia</a> deserunt mollit anim id est laborum.</p>
    	      <small class="text-muted">2 day ago</small>
    	    </li>
    	    <li class="list-group-item">
    	      <p class="nm">Duis aute irure dolor in <a href="javascript:void(0);">tweet.er</a> in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
    	      <small class="text-muted">3 day ago</small>
    	    </li>
    	  </ul>
    	</div>
    </div>
    
    <div class="col-xs-12 col-md-4 col-lg-4 bootstrap snippets bootdeys">
    	<div class="widget panel">
    	  <div class="panel-body">
    	    <h4 class="mb0">Latest Tweet
    	      <i class="fa fa-twitter text-info pull-right"></i>
    	    </h4>
    	    <hr>
    	    <ul class="list-table">
    	      <li style="width:70px;">
    	        <img class="img-circle img-bordered-primary" src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" width="65px" height="65px">
    	      </li>
    	      <li class="text-left">
    	        <h5 class="semibold ellipsis nm">Colt Jenkins</h5>
    	        <p class="text-muted nm">5k followers</p>
    	      </li>
    	      <li class="text-right">
    	        <button type="button" class="btn btn-sm btn-success">Follow</button>
    	      </li>
    	    </ul>
    	  </div>
    
    	  <ul class="list-group">
    	    <li class="list-group-item">
    	      <p class="nm">Lorem ipsum dolor sit amet, consectetur <a href="javascript:void(0);">#adipisicing</a> elit, sed do eiusmod.</p>
    	      <small class="text-muted">1 day ago</small>
    	    </li>
    	    <li class="list-group-item">
    	      <p class="nm">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui <a href="javascript:void(0);">@officia</a> deserunt mollit anim id est laborum.</p>
    	      <small class="text-muted">2 day ago</small>
    	    </li>
    	    <li class="list-group-item">
    	      <p class="nm">Duis aute irure dolor in <a href="javascript:void(0);">tweet.er</a> in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
    	      <small class="text-muted">3 day ago</small>
    	    </li>
    	  </ul>
    	</div>
    </div>
    </div>
</div>

CSS code

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

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

.widget .panel, .widget.panel {
    border-bottom-width: 1px;
    border-bottom-color: #cfd9db;
    overflow: hidden;
}

.widget {
    margin-bottom: 20px;
}

.panel {
    position: relative;
    border-width: 1px;
    border-color: #cfd9db;
    border-radius: 3px;
    -webkit-box-shadow: 0 .0625rem .0625rem rgba(0,0,0,.05);
    box-shadow: 0 .0625rem .0625rem rgba(0,0,0,.05);
}

.panel-body {
    position: relative;
}

.mb0 {
    margin-bottom: 0!important;
}

.text-info {
    color: #22A7F0!important;
}

.list-table {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin: 0;
    padding: 0;
}

.list-table>li:first-child {
    padding-left: 0;
}

.list-table>li {
    display: table-cell;
    table-layout: fixed;
    vertical-align: middle;
    width: auto;
    padding: 0 5px;
}

.img-bordered-primary {
    -webkit-box-shadow: 0 0 0 2px #fff,0 0 0 4px #446CB3;
    box-shadow: 0 0 0 2px #fff,0 0 0 4px #446CB3;
}

.img-circle {
    border-radius: 50%!important;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.semibold {
    font-weight: 600;
}
.nm {
    margin: 0!important;
}

Similar snippets

Bootstrap example and template. bs4 edit profile page

bs4 edit profile page

Bootstrap example and template. Contact list label

Contact list label

Bootstrap example and template. profile tab widget

profile tab widget

Bootstrap example and template. user profile cover like facebook

user profile cover like facebook

Bootstrap example and template. infinite page loader

infinite page loader

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. pricing plans with background curve

pricing plans with background curve

Bootstrap example and template. Users Products todo

Users Products todo

FAQ

How do I use this snippet?

Include Bootstrap 3.3.6, 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.6.

Bootstrap example and template. Latest Tweet

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 8.3K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

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