social network cover with friends

Bootstrap snippet. social network cover with friends, this snippet was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: profile,social network,friends,cover

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container">
    <div class="cover profile">
      <div class="wrapper">
        <div class="image">
          <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/profile-cover.jpg" alt="people">
        </div>
        <ul class="friends">
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/guy-6.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/woman-3.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/guy-2.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/guy-9.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/woman-9.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/guy-4.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/guy-1.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li>
            <a href="#">
              <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/woman-4.jpg" alt="people" class="img-responsive">
            </a>
          </li>
          <li><a href="#" class="group"><i class="fa fa-group"></i></a></li>
        </ul>
      </div>
      <div class="cover-info">
        <div class="avatar">
          <img src="http://themekit-v4.themekit.io/dist/themes/social-3/images/people/110/guy-5.jpg" alt="people">
        </div>
        <div class="name"><a href="#">Bill Demian</a></div>
        <ul class="cover-nav">
          <li><a href="user-public-timeline.html"><i class="fa fa-fw fa-bars"></i> Timeline</a></li>
          <li><a href="user-public-profile.html"><i class="fa fa-fw fa-user"></i> About</a></li>
          <li><a href="user-public-users.html"><i class="fa fa-fw fa-users"></i> Friends</a></li>
        </ul>
      </div>
    </div>
</div>

CSS code

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{margin-top:20px;}
.cover {
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.panel > .cover {
  margin-bottom: 0;
}
.cover.profile {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e9e6;
}
.cover.profile .wrapper {
  position: relative;
  overflow: hidden;
  max-height: 250px;
  border-bottom: 1px solid #e2e9e6;
}
.cover.profile .wrapper .friends {
  list-style: none;
  display: inline-block;
  position: absolute;
  background: #fff;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  z-index: 2;
  margin-bottom: 0;
  padding: 0;
}
.cover.profile .wrapper .friends li {
  float: left;
  margin: 0;
  width: 33.33%;
}
.cover.profile .wrapper .friends li a {
  display: block;
  padding-left: 1px;
  padding-top: 1px;
}
.cover.profile .wrapper .friends li a img {
  width: 100%;
}
.cover.profile .wrapper .friends li a.group {
  font-size: 40px;
  color: #efefef;
  text-align: center;
}
.cover.profile .wrapper .friends li a.group i {
  position: relative;
  top: 12px;
}
.cover.profile .wrapper .image {
  width: 100%;
  padding-right: 250px;
  overflow-y: hidden;
  position: relative;
}
.cover.profile .wrapper .image:after {
  position: absolute;
  top: 80px;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  z-index: 2;
  pointer-events: none;
  /* "all" disables mouse access to image */
  /* Mozilla Setting */
  background-image: linear-gradient(transparent, black);
  opacity: .7;
}
.cover.profile .wrapper .image img {
  width: 100%;
}
.cover.profile .cover-info {
  position: relative;
  height: 57px;
}
.cover.profile .cover-info .cover-nav {
  position: absolute;
  bottom: 0;
  left: 140px;
  list-style: none;
  float: left;
  margin: 0;
  padding-left: 0;
}
.cover.profile .cover-info .cover-nav li {
  float: left;
  display: block;
}
.cover.profile .cover-info .cover-nav > li > a {
  line-height: 20px;
  padding: 18px 15px;
  color: #bebebe;
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.cover.profile .cover-info .cover-nav > li > a i {
  font-size: 20px;
  vertical-align: middle;
  color: #e4e4e4;
}
.cover.profile .cover-info .cover-nav > li > a:hover {
  background: none;
  color: #6c6c6c;
  text-decoration: none;
}
.cover.profile .cover-info .cover-nav > li > a:hover i {
  color: #6c6c6c;
}
.cover.profile .cover-info .cover-nav > li.active > a {
  background: none;
  color: #6c6c6c;
}
.cover.profile .cover-info .cover-nav > li.active > a i {
  color: #6c6c6c;
}
.cover.profile .cover-info .cover-nav li {
  border-right: 1px solid #e2e9e6;
  border-left: 1px solid transparent;
}
.cover.profile .cover-info .name {
  position: absolute;
  left: 155px;
  bottom: 0px;
  margin-bottom: 65px;
  display: block;
  z-index: 3;
}
.cover.profile .cover-info .name a {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
}
.cover.profile .cover-info .avatar {
  position: absolute;
  display: inline-block;
  bottom: 0px;
  margin-bottom: 5px;
  left: 30px;
  z-index: 4;
}
.cover.profile .cover-info .avatar img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #fff;
}
@media (max-width: 992px) {
  .cover.profile .wrapper .image {
    padding-right: 120px;
    height: auto;
    position: relative;
  }
  .cover.profile .wrapper .friends {
    position: absolute;
    right: 0;
    width: 120px;
    height: auto;
  }
  .cover.profile .wrapper .friends > li {
    width: 50%;
  }
  .cover.profile .wrapper .friends > li > a.group {
    font-size: 30px;
  }
  .cover.profile .wrapper .friends > li > a.group i {
    top: 10px;
  }
  .cover.profile .wrapper .name a {
    color: #212121;
  }
  .cover.profile .wrapper .nav {
    left: 0;
    padding-left: 140px;
    width: 100%;
    border-top: 1px solid #e2e9e6;
  }
  .cover.profile .cover-info {
    height: 37px;
  }
  .cover.profile .cover-info .name {
    left: 100px;
    margin-bottom: 40px;
  }
  .cover.profile .cover-info .name a {
    font-size: 24px;
  }
  .cover.profile .cover-info .cover-nav {
    left: 85px;
  }
  .cover.profile .cover-info .cover-nav > li > a {
    padding: 8px 10px;
  }
  .cover.profile .cover-info .avatar {
    left: 10px;
    margin-bottom: 3px;
  }
  .cover.profile .cover-info .avatar img {
    width: 70px;
    height: 70px;
  }
}
@media (max-width: 768px) {
  .cover.profile .cover-info {
    background: #fff;
    clear: both;
    height: auto;
  }
  .cover.profile .cover-info .avatar {
    position: relative;
    left: 10px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 6px;
  }
  .cover.profile .cover-info .avatar img {
    width: 45px;
    height: 45px;
  }
  .cover.profile .cover-info .name {
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    left: 10px;
    top: 3px;
  }
  .cover.profile .cover-info .name a {
    color: #212121;
    font-size: 18px;
  }
  .cover.profile .cover-info .cover-nav {
    position: relative;
    margin: 0;
    bottom: 0;
    left: auto;
    float: none;
    padding-left: 0;
    border-top: 1px solid #e2e9e6;
  }
  .cover.profile .cover-info .cover-nav li {
    float: none;
    border-right: 0 !important;
    border-bottom: 1px solid #e2e9e6;
  }
}
                                    

Similar snippets

Bootstrap snippet bs4 profile with messages and edit

bs4 profile with messages and edit

View

Bootstrap snippet bs4 user profile cover

bs4 user profile cover

View

Bootstrap snippet bs4 edit profile page

bs4 edit profile page

View

About this snippet

Creator: Dey Dey

Bootstrap version: 3.3.6

Created: Apr 27th 2016, 00:04

Views: 174