HTML code
This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 4.3.1 included, to get the result that you can see in the preview selection
Download<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" rel="stylesheet">
<main>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="top-breadcrumb">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Social</li>
</ol>
</nav>
</div>
</div>
</div>
<div class="img" style=" background-image: linear-gradient(150deg, rgba(63, 174, 255, .3)15%, rgba(63, 174, 255, .3)70%, rgba(63, 174, 255, .3)94%), url(https://bootdey.com/img/Content/flores-amarillas-wallpaper.jpeg);height: 350px;background-size: cover;"></div>
<div class="card social-prof">
<div class="card-body">
<div class="wrapper">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="" class="user-profile">
<h3>Jane Smith</h3>
<p>Web Developer</p>
</div>
<div class="row ">
<div class="col-lg-12">
<ul class=" nav nav-tabs justify-content-center s-nav">
<li><a class="active" href="#">Timeline</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Friends</a></li>
<li><a href="#">Photos</a></li>
<li><a href="#">Videos</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-3">
<div class="card">
<div class="card-body">
<div class="h5 text-blue">@JaneSmith</div>
<div class="h7 "><strong>Name :</strong> Jane Smith</div>
<div class="h7"><strong>About :</strong> Developer of web applications, JavaScript, PHP, Java, Python, Ruby, Java, Node.js, etc.
</div>
</div>
<ul class="list-group list-group-flush">
<li class="list-group-item">
<div class="h6 text-muted">Followers</div>
<div class="h5">5.2342</div>
</li>
<li class="list-group-item">
<div class="h6 text-muted">Following</div>
<div class="h5">6758</div>
</li>
<li class="list-group-item">
<div class="h6 text-muted">Themes</div>
<div class="h5">6758</div>
</li>
</ul>
</div>
<div class="card">
<div class="card-body">
<h3 class="card-title">Latest Photos</h3>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class=""></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1" class=""></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2" class="active"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="d-block w-100" alt="...">
</div>
<div class="carousel-item active">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="d-block w-100" alt="...">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</div>
<div class="col-lg-6 gedf-main">
<!--- \\\\\\\Post-->
<div class="card social-timeline-card">
<div class="card-header">
<ul class="nav nav-tabs card-header-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="posts-tab" data-toggle="tab" href="#posts" role="tab" aria-controls="posts" aria-selected="true">Share your insights</a>
</li>
<li class="nav-item">
<a class="nav-link" id="images-tab" data-toggle="tab" role="tab" aria-controls="images" aria-selected="false" href="#images">Share Images</a>
</li>
</ul>
</div>
<div class="card-body">
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade active show" id="posts" role="tabpanel" aria-labelledby="posts-tab">
<div class="form-group">
<label class="sr-only" for="message">post</label>
<textarea class="form-control" id="message" rows="3" placeholder="What are you thinking?"></textarea>
</div>
</div>
<div class="tab-pane fade" id="images" role="tabpanel" aria-labelledby="images-tab">
<div class="form-group">
<div class="custom-file">
<input type="file" class="custom-file-input" id="customFile">
<label class="custom-file-label" for="customFile">Upload image</label>
</div>
</div>
<div class="py-4"></div>
</div>
</div>
<div class="btn-toolbar justify-content-between">
<div class="btn-group">
<button type="submit" class="btn btn-theme-primary">share</button>
</div>
<div class="btn-group">
<button id="btnGroupDrop1" type="button" class="btn btn-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-globe"></i>
</button>
<div class="dropdown-menu " aria-labelledby="btnGroupDrop1">
<a class="dropdown-item" href="#"><i class="fa fa-globe"></i> Public</a>
<a class="dropdown-item" href="#"><i class="fa fa-users"></i> Friends</a>
<a class="dropdown-item" href="#"><i class="fa fa-user"></i> Just me</a>
</div>
</div>
</div>
</div>
</div>
<!-- Post /////-->
<!--- \\\\\\\Post-->
<div class="card social-timeline-card">
<div class="card-header">
<div class="d-flex justify-content-between align-items-center">
<div class="d-flex justify-content-between align-items-center">
<div class="mr-2">
<img class="rounded-circle" width="45" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
</div>
<div class="ml-2">
<div class="h5 m-0 text-blue">@JaneSmith</div>
<div class="h7 text-muted">Miracles Lee Cross</div>
</div>
</div>
<div>
<div class="dropdown">
<button class="btn btn-link dropdown-toggle" type="button" id="gedf-drop11" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-ellipsis-h"></i>
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="gedf-drop11">
<div class="h6 dropdown-header">Configuration</div>
<a class="dropdown-item" href="#">Save</a>
<a class="dropdown-item" href="#">Hide</a>
<a class="dropdown-item" href="#">Report</a>
</div>
</div>
</div>
</div>
</div>
<div class="card-body">
<div class="text-muted h7 mb-2"> <i class="fa fa-clock-o"></i>10 min ago</div>
<a class="card-link" href="#">
<h5 class="card-title">Lorem ipsum dolor sit amet, consectetur adip.</h5>
</a>
<img src="img/gallery/1a.jpg" alt="" class="img-fluid">
</div>
<div class="card-footer">
<a href="#" class="card-link"><i class="fa fa-gittip"></i> Like</a>
<a href="#" class="card-link"><i class="fa fa-comment"></i> Comment</a>
<a href="#" class="card-link"><i class="fa fa-mail-forward"></i> Share</a>
</div>
</div>
<!-- Post /////-->
<!--- \\\\\\\Post-->
<div class="card social-timeline-card">
<div class="card-header">
<div class="d-flex justify-content-between align-items-center">
<div class="d-flex justify-content-between align-items-center">
<div class="mr-2">
<img class="rounded-circle" width="45" src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
</div>
<div class="ml-2">
<div class="h5 m-0 text-blue">@JaneSmith</div>
<div class="h7 text-muted">Miracles Lee Cross</div>
</div>
</div>
<div>
<div class="dropdown">
<button class="btn btn-link dropdown-toggle" type="button" id="gedf-drop1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-ellipsis-h"></i>
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="gedf-drop1">
<div class="h6 dropdown-header">Configuration</div>
<a class="dropdown-item" href="#">Save</a>
<a class="dropdown-item" href="#">Hide</a>
<a class="dropdown-item" href="#">Report</a>
</div>
</div>
</div>
</div>
</div>
<div class="card-body">
<div class="text-muted h7 mb-2"> <i class="fa fa-clock-o"></i> 10 min ago</div>
<a class="card-link" href="#">
<h5 class="card-title"> Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit consectetur
deserunt illo esse distinctio.</h5>
</a>
<p class="card-text">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Magnam omnis nihil, aliquam est, voluptates officiis iure soluta alias vel odit, placeat reiciendis ut libero! Quas aliquid natus cumque quae repellendus. Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa, excepturi. Doloremque, reprehenderit! Quos in maiores, soluta doloremque molestiae reiciendis libero expedita assumenda fuga quae. Consectetur id molestias itaque facere? Hic!
</p>
<div>
<span class="badge badge-primary">JavaScript</span>
<span class="badge badge-primary">Android</span>
<span class="badge badge-primary">PHP</span>
<span class="badge badge-primary">Node.js</span>
<span class="badge badge-primary">Ruby</span>
<span class="badge badge-primary">Paython</span>
</div>
</div>
<div class="card-footer">
<a href="#" class="card-link"><i class="fa fa-gittip"></i> Like</a>
<a href="#" class="card-link"><i class="fa fa-comment"></i> Comment</a>
<a href="#" class="card-link"><i class="fa fa-mail-forward"></i> Share</a>
</div>
</div>
<!-- Post /////-->
<!--- \\\\\\\Post-->
<div class="card social-timeline-card">
<div class="card-header">
<div class="d-flex justify-content-between align-items-center">
<div class="d-flex justify-content-between align-items-center">
<div class="mr-2">
<img class="rounded-circle" width="45" src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
</div>
<div class="ml-2">
<div class="h5 m-0 text-blue">@JaneSmith</div>
<div class="h7 text-muted">Miracles Lee Cross</div>
</div>
</div>
<div>
<div class="dropdown">
<button class="btn btn-link dropdown-toggle" type="button" id="gedf-drop2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-ellipsis-h"></i>
</button>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="gedf-drop2">
<div class="h6 dropdown-header">Configuration</div>
<a class="dropdown-item" href="#">Save</a>
<a class="dropdown-item" href="#">Hide</a>
<a class="dropdown-item" href="#">Report</a>
</div>
</div>
</div>
</div>
</div>
<div class="card-body">
<div class="text-muted h7 mb-2"> <i class="fa fa-clock-o"></i> Hace 40 min</div>
<a class="card-link" href="#">
<h5 class="card-title">Totam non adipisci hic! Possimus ducimus amet, dolores illo ipsum quos
cum.</h5>
</a>
<p class="card-text">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsam sunt fugit reprehenderit consectetur exercitationem odio, quam nobis? Officiis, similique, harum voluptate, facilis voluptas pariatur dolorum tempora sapiente eius maxime quaerat.
<a href="https://mega.nz/#!1J01nRIb!lMZ4B_DR2UWi9SRQK5TTzU1PmQpDtbZkMZjAIbv97hU" target="_blank">https://mega.nz/#!1J01nRIb!lMZ4B_DR2UWi9SRQK5TTzU1PmQpDtbZkMZjAIbv97hU</a>
</p>
</div>
<div class="card-footer">
<a href="#" class="card-link"><i class="fa fa-gittip"></i> Like</a>
<a href="#" class="card-link"><i class="fa fa-comment"></i> Comment</a>
<a href="#" class="card-link"><i class="fa fa-mail-forward"></i> Share</a>
</div>
</div>
<!-- Post /////-->
</div>
<div class="col-lg-3">
<div class="card social-timeline-card">
<div class="card-body">
<h5 class="card-title">People you may know</h5>
<ul class="friend-list">
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
<li>
<div class="left">
<img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
</div>
<div class="right">
<h3>John Doe</h3>
<p>10 Friends</p>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</main>
CSS code
This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 4.3.1 included, to get the result that you can see in the preview selection
Downloadbody {
background-color: #f0f6ff;
color: #28384d;
}
/*social */
.card-one {
position: relative;
width: 300px;
background: #fff;
box-shadow: 0 10px 7px -5px rgba(0, 0, 0, 0.4);
}
.card {
margin-bottom: 35px;
box-shadow: 0 10px 20px 0 rgba(26, 44, 57, 0.14);
border: none;
}
.follower-wrapper li {
list-style-type: none;
color: #fff;
display: inline-block;
float: left;
margin-right: 20px;
}
.social-profile {
color: #fff;
}
.social-profile a {
color: #fff;
}
.social-profile {
position: relative;
margin-bottom: 150px;
}
.social-profile .user-profile {
position: absolute;
bottom: -75px;
width: 150px;
height: 150px;
border-radius: 50%;
left: 50px;
}
.social-nav {
position: absolute;
bottom: 0;
}
.social-prof {
color: #333;
text-align: center;
}
.social-prof .wrapper {
width: 70%;
margin: auto;
margin-top: -100px;
}
.social-prof img {
width: 150px;
height: 150px;
border-radius: 50%;
margin-bottom: 20px;
border: 5px solid #fff;
/*border: 10px solid #70b5e6ee;*/
}
.social-prof h3 {
font-size: 36px;
font-weight: 700;
margin-bottom: 0;
}
.social-prof p {
font-size: 18px;
}
.social-prof .nav-tabs {
border: none;
}
.card .nav>li {
position: relative;
display: block;
}
.card .nav>li>a {
position: relative;
display: block;
padding: 10px 15px;
font-weight: 300;
border-radius: 4px;
}
.card .nav>li>a:focus,
.card .nav>li>a:hover {
text-decoration: none;
background-color: #eee;
}
.card .s-nav>li>a.active {
text-decoration: none;
background-color: #3afe;
color: #fff;
}
.text-blue {
color: #3afe;
}
ul.friend-list {
margin: 0;
padding: 0;
}
ul.friend-list li {
list-style-type: none;
display: flex;
align-items: center;
}
ul.friend-list li:hover {
background: rgba(0, 0, 0, .1);
cursor: pointer;
}
ul.friend-list .left img {
width: 45px;
height: 45px;
border-radius: 50%;
margin-right: 20px;
}
ul.friend-list li {
padding: 10px;
}
ul.friend-list .right h3 {
font-size: 16px;
font-weight: 700;
margin-bottom: 0;
}
ul.friend-list .right p {
font-size: 11px;
color: #6c757d;
margin: 0;
}
.social-timeline-card .dropdown-toggle::after {
display: none;
}
.info-card h4 {
font-size: 15px;
}
.info-card h2 {
font-size: 18px;
margin-bottom: 20px;
}
.social-about .social-info {
font-size: 16px;
margin-bottom: 20px;
}
.social-about p {
margin-bottom: 20px;
}
.info-card i {
color: #3afe;
}
.card-one {
position: relative;
width: 300px;
background: #fff;
box-shadow: 0 10px 7px -5px rgba(0, 0, 0, 0.4);
}
.card-one .header {
position: relative;
width: 100%;
height: 60px;
background-color: #3afe;
}
.card-one .header::before,
.card-one .header::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: inherit;
}
.card-one .header::before {
-webkit-transform: skewY(-8deg);
transform: skewY(-8deg);
-webkit-transform-origin: 100% 100%;
transform-origin: 100% 100%;
}
.card-one .header::after {
-webkit-transform: skewY(8deg);
transform: skewY(8deg);
-webkit-transform-origin: 0 100%;
transform-origin: 0 100%;
}
.card-one .header .avatar {
position: absolute;
left: 50%;
top: 30px;
margin-left: -50px;
z-index: 5;
width: 100px;
height: 100px;
border-radius: 50%;
overflow: hidden;
background: #ccc;
border: 3px solid #fff;
}
.card-one .header .avatar img {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
width: 100px;
height: auto;
}
.card-one h3 {
position: relative;
margin: 80px 0 30px;
text-align: center;
}
.card-one h3::after {
content: '';
position: absolute;
bottom: -15px;
left: 50%;
margin-left: -15px;
width: 30px;
height: 1px;
background: #000;
}
.card-one .desc {
padding: 0 1rem 2rem;
text-align: center;
line-height: 1.5;
color: #777;
}
.card-one .contacts {
width: 200px;
max-width: 100%;
margin: 0 auto 3rem;
}
.card-one .contacts a {
display: block;
width: 33.333333%;
float: left;
text-align: center;
color: #c8c;
}
.card-one .contacts a:hover {
color: #333;
}
.card-one .contacts a:hover .fa::before {
color: #fff;
}
.card-one .contacts a:hover .fa::after {
width: 100%;
height: 100%;
}
.card-one .contacts a .fa {
position: relative;
width: 40px;
height: 40px;
line-height: 39px;
overflow: hidden;
text-align: center;
font-size: 1.3em;
}
.card-one .contacts a .fa:before {
position: relative;
z-index: 1;
}
.card-one .contacts a .fa::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
background: #c8c;
transition: width .3s, height .3s;
}
.card-one .contacts a:last-of-type .fa {
line-height: 36px;
}
.card-one .footer {
position: relative;
padding: 1rem;
background-color: #3afe;
text-align: center;
}
.card-one .footer a {
padding: 0 1rem;
color: #e2e2e2;
transition: color .4s;
}
.card-one .footer a:hover {
color: #c8c;
}
.card-one .footer::before {
content: '';
position: absolute;
top: -27px;
left: 50%;
margin-left: -15px;
border: 15px solid transparent;
border-bottom-color: #3afe;
}
.card-title, .card .card-title, .card-2 .card-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 20px;
}
a {
color: #333;
}
.badge {
font-size: 12px;
line-height: 1;
padding: .375rem .5625rem;
font-weight: normal;
}
.badge-primary {
color: #447de8;
background-color: #e6edff;
}
.badge {
display: inline-block;
padding: .4em .5em;
font-size: 75%;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
/*end social*/
About this bootstrap example/template
This example/template, bs4 social tiemeline, was published on Nov 29th 2019, 11:28 by Bootdey Admin and it is free.
We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.
We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.
This code example currectly have 12.5K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 4.3.1
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
This code example is based on bootstrap 4.3.1 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working