/ Published in: HTML
bootdey bootstrap code snippet messages
http://bootdey.com/
http://bootdey.com/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> <div class="container"> <div class="row"> </div> <div class="row"> <div class="conversation-wrap col-md-3"> <div class="media conversation"> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 50px; height: 50px;" src="http://bootdey.com/img/Content/user_2.jpg"> </a> <div class="media-body"> </div> </div> <div class="media conversation"> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 50px; height: 50px;" src="http://bootdey.com/img/Content/user_1.jpg"> </a> <div class="media-body"> </div> </div> <div class="media conversation"> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 50px; height: 50px;" src="http://bootdey.com/img/Content/user_3.jpg"> </a> <div class="media-body"> </div> </div> <div class="media conversation"> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 50px; height: 50px;" src="http://bootdey.com/img/Content/User_for_snippets.png"> </a> <div class="media-body"> </div> </div> <div class="media conversation"> <a class="pull-left" href="#"> <img class="media-object img-circle"style="width: 50px; height: 50px;" src="http://bootdey.com/img/Content/user-453533-fdadfd.png"> </a> <div class="media-body"> </div> </div> <div class="media conversation"> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 50px; height: 50px;" src="http://bootdey.com/img/Content/HexGames349.jpg"> </a> <div class="media-body"> </div> </div> </div> <div class="message-wrap col-md-8"> <div class="msg-wrap"> <div class="media msg "> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 32px; height: 32px;" src="http://bootdey.com/img/Content/user_2.jpg"> </a> <div class="media-body"> </div> </div> <div class="alert alert-info msg-date"> </div> <div class="media msg"> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 32px; height: 32px;" src="http://bootdey.com/img/Content/user_2.jpg"> </a> <div class="media-body"> </div> </div> <div class="media msg"> <a class="pull-left" href="#"> <img class="media-object img-circle" data-src="holder.js/64x64" alt="64x64" style="width: 32px; height: 32px;" src="http://bootdey.com/img/Content/user_2.jpg"> </a> <div class="media-body"> </div> </div> <div class="media msg"> <a class="pull-left" href="#"> <img class="media-object img-circle" style="width: 32px; height: 32px;" src="http://bootdey.com/img/Content/user_2.jpg"> </a> <div class="media-body"> </div> </div> </div> <div class="send-wrap "> </div> <div class="btn-panel"> <button class="btn btn-success" role="button"> </button> </div> </div> </div> </div> <style> .conversation-wrap{ box-shadow: -2px 0 3px #ddd; padding:0; max-height: 400px; overflow: auto; } .conversation{ padding:5px; border-bottom:1px solid #ddd; margin:0; } .message-wrap{ box-shadow: 0 0 3px #ddd; padding:0; } .msg{ padding:5px; margin:0; } .msg-wrap{ padding:10px; max-height: 400px; overflow: auto; } .time{ color:#bfbfbf; } .send-wrap{ border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding:10px; } .send-message{ resize: none; } .highlight{ background-color: #f7f7f9; border: 1px solid #e1e1e8; } .send-message-btn{ border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .msg-wrap .media-heading{ color:#003bb3; font-weight: 700; } .msg-date{ background: none; text-align: center; color:#aaa; border:none; box-shadow: none; border-bottom: 1px solid #ddd; } </style>
URL: http://bootdey.com/snippets/view/Messages-273