Home page of linkedin

work in progress

by vaheed akhtar

HTML

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<div class="main-id">
		<div class="product-body">
			<aside class="left-side">
      
     <div class="card">
      <img src="https://ak8.picdn.net/shutterstock/videos/1290388/thumb/1.jpg"                    alt="John" style="width:100%">
        <div class="avatar">
         <img alt="" src="https://www.w3schools.com/w3images/avatar2.png">
        </div>

      <h1>Milly </h1>
      <p class="title">@milley</p>
      <p>Harvard University</p>
      <hr />
      <p>followers</p>
      <div>

      </div>
</div>
    </aside>
    
<div class="scroll-body">
      <!--     search box for whole website -->  
   <form>
    <div class="input-group">
      <input type="text" class="form-control" 
      placeholder="Search for news, articles, peoples and more"/>
      <div class="input-group-btn">
        <button class="btn btn-default" type="submit">
         <i class="glyphicon glyphicon-search"></i>
        </button>
      </div>
    </div>
  </form>
<!--   search box end -->

<!-- --blogpost start here-- -->
<div class="blogpost">
  <ul class="nav nav-tabs">
    <li class="active">
     <a data-toggle="tab" href="#status"><i class="glyphicon glyphicon-heart"></i> Status</a>
    </li>
    <li>
    <a data-toggle="tab" href="#blogpost"><i class="glyphicon glyphicon-comment"></i> Post Blog</a>
    </li>
  </ul>

  <div class="tab-content">
    <div id="status" class="tab-pane fade in active">
      <div style="display:flex;justify-content:space-around;">
        <div>
          <img...

CSS

.main-id{
	display: flex;
	width: 100%;
	overflow-y: auto;
}
.product-body{
	display: flex;}
.left-side{ 
width: 200px; background-color: grey;color:white;
position:fixed; top: 0;left:0; height: auto;}

.right-side{ width: 200px;background-color: grey; 
color: white;position: fixed;top:0; right:0; height:auto;}

.scroll-body{width: calc(100% - 400px); margin-left: 200px; padding:10px;}

/* profile card */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 300px;
  margin: auto;
  text-align: center;
  font-family: arial;
}

.title {
  color: grey;
  font-size: 18px;
}

.card .avatar {
    position: relative;
    top: -50px;
    margin-bottom: -50px;
}

.card .avatar img {
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.5);
}
.blogpost{
  margin-top:20px;
  border-top: 2px solid lightgreen;
}