Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Bootstrap Chat Box"
Bootstrap 3.3.0 Snippet by
MTaqi
3.3.0
chat
Preview
HTML
CSS
View Full Screen
Fork
Fork this
15.8K
 
2 Fav
Post to Facebook
Tweet this
<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 pad-top pad-bottom"> <div class=" col-lg-6 col-md-6 col-sm-6"> <div class="chat-box-div"> <div class="chat-box-head"> GROUP CHAT HISTORY <div class="btn-group pull-right"> <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <span class="fa fa-cogs"></span> <span class="sr-only">Toggle Dropdown</span> </button> <ul class="dropdown-menu" role="menu"> <li><a href="#"><span class="fa fa-map-marker"></span> Invisible</a></li> <li><a href="#"><span class="fa fa-comments-o"></span> Online</a></li> <li><a href="#"><span class="fa fa-lock"></span> Busy</a></li> <li class="divider"></li> <li><a href="#"><span class="fa fa-circle-o-notch"></span> Logout</a></li> </ul> </div> </div> <div class="panel-body chat-box-main"> <div class="chat-box-left"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </div> <div class="chat-box-name-left"> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> - Justine Goliyad </div> <hr class="hr-clas" /> <div class="chat-box-right"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </div> <div class="chat-box-name-right"> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> - Romin Royeelin </div> <hr class="hr-clas" /> <div class="chat-box-left"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </div> <div class="chat-box-name-left"> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> - Justine Goliyad </div> <hr class="hr-clas" /> <div class="chat-box-right"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </div> <div class="chat-box-name-right"> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> - Romin Royeelin </div> <hr class="hr-clas" /> </div> <div class="chat-box-footer"> <div class="input-group"> <input type="text" class="form-control" placeholder="Enter Text Here..."> <span class="input-group-btn"> <button class="btn btn-info" type="button">SEND</button> </span> </div> </div> </div> </div> <div class="col-lg-3 col-md-3 col-sm-3"> <div class="chat-box-online-div"> <div class="chat-box-online-head"> ONLINE USERS (120) </div> <div class="panel-body chat-box-online"> <div class="chat-box-online-left"> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> - Justine Goliyad <br /> ( <small>Active from 3 hours</small> ) </div> <hr class="hr-clas-low" /> <div class="chat-box-online-right"> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> - Romin Royeelin <br /> ( <small>Active from 10 hours</small> ) </div> <hr class="hr-clas-low" /> <div class="chat-box-online-left"> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> - Justine Goliyad <br /> ( <small>Active from 3 hours</small> ) </div> <hr class="hr-clas-low" /> <div class="chat-box-online-right"> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> - Romin Royeelin <br /> ( <small>Active from 10 hours</small> ) </div> <hr class="hr-clas-low" /> <div class="chat-box-online-left"> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> - Justine Goliyad <br /> ( <small>Active from 3 hours</small> ) </div> <hr class="hr-clas-low" /> <div class="chat-box-online-right"> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> - Romin Royeelin <br /> ( <small>Active from 10 hours</small> ) </div> <hr class="hr-clas-low" /> <div class="chat-box-online-left"> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> - Justine Goliyad <br /> ( <small>Active from 3 hours</small> ) </div> <hr class="hr-clas-low" /> <div class="chat-box-online-right"> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> - Romin Royeelin <br /> ( <small>Active from 10 hours</small> ) </div> <hr class="hr-clas-low" /> </div> </div> </div> <div class="col-lg-3 col-md-3 col-sm-3"> <div class="chat-box-new-div"> <div class="chat-box-new-head"> NEW CHATS (4) </div> <div class="panel-body chat-box-new"> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> (@Justine) <hr class="hr-clas-low" /> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> (@Romin) <hr class="hr-clas-low" /> <img src="assets/img/user.png" alt="bootstrap Chat box user image" class="img-circle" /> (@Justine) <hr class="hr-clas-low" /> <img src="assets/img/user.gif" alt="bootstrap Chat box user image" class="img-circle" /> (@Romin) <hr class="hr-clas-low" /> </div> </div> </div> </div> </div>
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"); /*====================================== GENERAL STYLES ======================================= */ body { font-family:Verdana; } .pad-top { padding-top:30px; } .pad-bottom { padding-bottom:30px; } /*====================================== CHAT BOX STYLES ======================================= */ .hr-clas { border-top: 1px solid #A12EB3; } .chat-box-main { max-height:500px; overflow:auto; } .chat-box-div { border:2px solid #A12EB3; border-bottom:2px solid #A12EB3; } .chat-box-head { padding: 10px 15px; border-bottom: 2px solid #A12EB3; background-color: #B25AE5; color: #fff; text-align: center; } .chat-box-left { width: 100%; height: auto; padding: 15px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; position: relative; border: 1px solid #C5C5C5; font-size:12px; } .chat-box-left:after { top: 100%; left: 10%; border: solid transparent; content: " "; position: absolute; border-top-color: #C5C5C5; border-width: 15px; margin-left: -15px; } .chat-box-name-left { margin-top: 30px; margin-left: 60px; text-align:left; color:#049E64; } .chat-box-name-left img { max-width:40px; border: 2px solid #049E64; } .chat-box-right { width: 100%; height: auto; padding: 15px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; position: relative; border: 1px solid #C5C5C5; font-size:12px; } .chat-box-right:after { top: 100%; right: 10%; border: solid transparent; content: " "; position: absolute; border-top-color: #C5C5C5; border-width: 15px; margin-left: -15px; } .chat-box-name-right { color: #354EA0; margin-top: 30px; margin-right: 60px; text-align:right; } .chat-box-name-right img { max-width:40px; border: 2px solid #354EA0; } .chat-box-footer { background-color: #D8D8D8; padding: 10px; } /*====================================== CHAT BOX ONLINE STYLES ======================================= */ .hr-clas-low { border-top: 1px solid #C5C5C5; } .chat-box-online { max-height:554px; overflow:auto; } .chat-box-online-div { border:2px solid #03DB2F; border-bottom:2px solid #03DB2F; } .chat-box-online-head { padding: 10px 15px; border-bottom: 2px solid #03DB2F; background-color: #03DB2F; color: #fff; text-align: center; } .chat-box-online-left { margin-left: 10px; text-align:left; color:#049E64; } .chat-box-online-left img { max-width:30px; border:1px solid #049E64; margin-bottom:10px; } .chat-box-online-right { margin-right: 10px; text-align:right; color:#354EA0; } .chat-box-online-right img { max-width:30px; border:1px solid #354EA0; margin-bottom:10px; } /*====================================== NEW CHAT STYLES ======================================= */ .chat-box-new { max-height:554px; overflow:auto; } .chat-box-new-div { border:2px solid #ff6a00; border-bottom:2px solid #ff6a00; } .chat-box-new-head { padding: 10px 15px; border-bottom: 2px solid #ff6a00; background-color: #ff6a00; color: #fff; text-align: center; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
Nice
sd
()
-
8 years ago
-
Reply
0
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76