"Bootstrap 4 user profile"
Bootstrap 4.1.1 Snippet by SamimOnline

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>
<meta charset="UTF-8">
<title>User profile</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<!-- Coded with love by Mutiullah Samim-->
</head>
<body>
<div class="container h-100">
<div class="row h-100 justify-content-center align-items-center">
<div class="card">
<div class="card-header">
<div class="profile_pic">
<img src="https://bootsnipp.com/img/avatars/92ff0456eb6106d0c1ae8ab5f1fe0afe2d2d25f2.jpg">
</div>
</div>
<div class="card-body">
<div class="d-lfex justify-content-center flex-column">
<div class="name_container">
<div class="name">Samim</div>
</div>
<div class="address">Kuala Lumpur, Malaysia</div>
</div>
<div class="follow">
<div class="follow_btn">Follow</div>
</div>
<div class="info_container">
<div class="info">
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
html, body{
height: 100%;
padding: 0;
background: rgba(0,0,0,0.02) !important;
}
.card-header{
background-image: url('http://www.latestseotutorial.com/wp-content/uploads/2016/12/love-dp-for-facebook.jpg') !important;
padding: 0 !important;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 150px;
position: relative;
display: flex;
justify-content: center;
text-align:center;
}
.card{
overflow: hidden;
border:0 !important;
width: 300px;
box-shadow: 0px 0px 15px 1px;
-webkit-box-shadow:0px 0px 15px 1px;
}
.profile_pic{
position: absolute;
bottom: -50px;
height: 112px;
width: 112px;
padding: 5px;
border: 2px solid #f39c12;
border-radius: 50%;
}
.card-body{
padding-top: 55px !important;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: