"Chat Design"
Bootstrap 3.3.0 Snippet by mtownsen

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="panel panel-default"> <div class="panel-heading">Panel heading without title</div> <div class="panel-body"> <div class="container"> <div class="row message-bubble"> <p class="text-muted">Matt Townsen</p> <span>Why is yo shit so broke?</span> </div> <div class="row message-bubble"> <p class="text-muted">Matt Townsen</p> <p>It Isn't'</p> </div> <div class="row message-bubble"> <p class="text-muted">Matt Townsen</p> <p>Umm yes it is</p> </div> <div class="row message-bubble"> <p class="text-muted">Matt Townsen</p> <p>Test message</p> </div> </div> <div class="panel-footer"> <div class="input-group"> <input type="text" class="form-control"> <span class="input-group-btn"> <button class="btn btn-default" type="button">Send</button> </span> </div> </div> </div> </div> </div> </div>
.message-bubble { padding: 10px 0px 10px 0px; } .message-bubble:nth-child(even) { background-color: #F5F5F5; } .message-bubble > * { padding-left: 10px; } .panel-body { padding: 0px; } .panel-heading { background-color: #3d6da7 !important; color: white !important; }

Related: See More


Questions / Comments: