"Chat box"
Bootstrap 3.3.0 Snippet by Salehin

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<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 ---------->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.0/css/font-awesome.min.css" rel="stylesheet">
<div class="wrapper">
<div class="type-board">
<div class="content">
<p class="hide">Sign up for the newsletter now! Responsive sign up form</p>
<form>
<input type="text" placeholder="Type a message..."></input>
<a href="#" class="arrow-button"><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
</form>
</div>
</div>
<div class="chat-btn">
<span class="chat-start"><i class="fa fa-3x fa-comment-o" aria-hidden="true"></i></span>
<span class="chat-cancel hide"><i class="fa fa-3x fa-times" aria-hidden="true"></i></span>
</div>
<div class="chat-wrapper">
<ul class="chat-list">
<li><span>Hi There! Can you help me out with booking and quiestions?</span></li>
<li><div class="content2">
<p>Sign up for the newsletter now! Responsive sign up form</p>
<!--<form class="user-error">-->
<form>
<input type="text" placeholder="your@email.com"></input>
<a href="#" class="arrow-button"><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
<span class="error-alert hide">Please filup require field.</span>
</form>
</div></li>
<li><div class="content2">
<p>Sign up for the newsletter now! Responsive sign up form</p>
<form class="user-error">
<input type="text" placeholder="your@email.com"></input>
<a href="#" class="arrow-button"><i class="fa fa-long-arrow-right" aria-hidden="true"></i></a>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
*{
transition: all 0.6s;
}
html {
height: 100%;
}
body{
padding:0;
margin: 0;
font-size:13px;
font:normal normal 11px/1.4 Tahoma,Verdana,Sans-Serif;
}
.wrapper {
background:url(seaportboston.png) no-repeat center center;
height:100%;
width:100%;
background-size:cover;
position:fixed;
}
.chat-btn{position:absolute;bottom: 160px;right: 60px;top:auto;left:auto;}
.chat-btn .chat-cancel{background:#c9c9c9;}
.chat-btn .chat-start{background:#29c5b5;}
.chat-btn .chat-cancel, .chat-btn .chat-start{border-radius:100%;padding:20px;display:block;color:#fff;text-align: center;box-shadow: 0px 0px 35px rgba(0,0,0,0.6);}
.hide{display:none !important;}
.content{
position: absolute;
max-width:400px;
width:100%;
padding:0;
background: #fff;
border-radius: 5px;
bottom: 170px;
right: 170px;
box-shadow: 0px 0px 35px rgba(0,0,0,0.6);
font-size:1rem;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: