"Bootstrap 5 chat app frame avatar placeholder"
Bootstrap 4.1.1 Snippet by MMLTech

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/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12 my-3">
<h1>Bootstrap 5 chat app</h1>
<hr>
Support my work @ MMLTech | <a href="https://ko-fi.com/mmltech" target="_blank"><i class="fas fa-coffee"></i> Buy me a coffee</a> | <a href="https://streamcd.net">StreamCD</a> | <a href="https://obscountdown.com">OBSCountdown</a> | <a href="https://avatarplaceholder.com">AvatarPlaceholder</a>
<hr>
</div>
</div>
<div id="ChatBox">
<div class="row">
<div class="col-md-4">
<div class="sidebar h-100">
<form>
<div class="form-group">
<div class="input-group mb-3">
<span class="input-group-text" id="basic-addon1"><i class="fas fa-search"></i></span>
<input type="text" class="form-control" placeholder="Search user" aria-label="Search user" aria-describedby="basic-addon1">
</div>
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
body {
background-color: #f4f7f6;
}
#ChatBox {
background: #fff;
border-radius: 0.55rem;
border: 1px solid #ced4da;
}
#ChatBox * {
/* width */
/* Track */
/* Handle */
/* Handle on hover */
}
#ChatBox *::-webkit-scrollbar {
width: 5px;
}
#ChatBox *::-webkit-scrollbar-track {
background: transparent;
}
#ChatBox *::-webkit-scrollbar-thumb {
-webkit-transition: 0.3s all;
-moz-transition: 0.3s all;
-ms-transition: 0.3s all;
-o-transition: 0.3s all;
transition: 0.3s all;
background-color: #cccccc;
border-radius: 0.25rem;
}
#ChatBox *::-webkit-scrollbar-thumb:hover {
background-color: #555;
}
#ChatBox .user-avatar {
border-radius: 9999999px;
border: 5px solid #00000015;
overflow: hidden;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: