Instagram User Profile header

Bootstrap snippet. Instagram User Profile header, 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: user,profile,header

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="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css"
rel="stylesheet" />
<header class="clearfix feed-header" data-role="banner">
    <div class="compWrapper">
        <div class="compInnerWrapper">
            <div class="compContainer" id="cycler1">
                <div class="compPhoto compPhoto1"> <a href="#">
                            <div class="Image iWithTransition">
                                <img src="http://placehold.it/225x225/FF00FF/fff&amp;text=photo1" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto2"> <a href="#">
                            <div class="Image iLoaded iWithTransition">
                                <img src="http://placehold.it/225x225/545454/fff&amp;text=photo2" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto3"> <a href="#" class="">
                            <div class="Image iWithTransition">
                                <img src="http://placehold.it/425x425/1E90FF/fff&amp;text=photo3" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto4"> <a href="#">
                            <div class="Image iWithTransition">
                                <img src="http://placehold.it/250x250/00FF7F/fff&amp;text=photo4" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto5"> <a href="#">
                            <div class="Image iWithTransition">
                                <img src="http://placehold.it/220x220/444/fff&amp;text=photo5" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto6"> <a href="#">
                            <div class="Image iWithTransition">
                                <img src="http://placehold.it/230x230/333/fff&amp;text=photo6" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
                <div class="compPhoto compPhoto7"> <a href="#">
                            <div class="Image iWithTransition">
                                <img src="http://placehold.it/250x250/40E0D0/fff&amp;text=photo7" class="img-responsive" />
                                <b class="compPhotoShadow"></b>
                            </div>
                        </a>
                </div>
            </div>
        </div>
    </div>
</header>
<div class="profile-user">
    <div class="row">
        <div class="col-md-6">
            <div class="pull-left" style="margin-right: 15px;">
                <img src="http://www.gravatar.com/avatar/f6112e781842d6a2b4636b35451401ff?s=80&amp;d=mm&amp;r=g"
                class="img-polaroid img-responsive" />
            </div>
             <h2>Full name</h2>
            <p> <strong>Bootstrap snippets</strong>  <a href="#">https://bootdey.com</a>
            </p>
        </div>
        <div class="col-md-6">
            <ul class="inline user-counts-list">
                <li>Photos <span class="count">100</span>
                </li>
                <li>Followers <span class="count">50</span>
                </li>
                <li>Following <span class="count">130</span>
                </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

.feed-header {
  margin: 0;
  padding: 32px 0 0;
  background: #333333 url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/profile/noise-black.png") 50% 50%;
  background-image: url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/profile/profile-header-gradient.png"), url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/profile/noise-black.png");
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5) inset;
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5) inset;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 3px rgba(0, 0, 0, 0.5) inset;
  position: relative;
  overflow: hidden;
}
 
    
.profile-user {
  position: relative;
  max-width: 964px;
  min-height: 75px;
  margin: 0 auto;
  padding: 10px 30px 15px;
  border-bottom: 1px solid #d9d9d9;
  background: #eeeeee url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/bg/white-gradient-200px.png") repeat-x 50% 50%;
  -webkit-box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05), -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05), -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05), -1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.compWrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1024px;
  min-width: 720px;
  border: 1px solid #000;
  border-top: none;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}

.compInnerWrapper {
  padding-bottom: 40%;
  /* maintain aspect ratio */
  position: relative;
  width: auto;
}

.compNoComp .compInnerWrapper {
  padding-bottom: 88px;
}

.compContainer {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  margin-left: 0;
  margin-top: 1px;
  background-color: #000;
  -webkit-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  -moz-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.compNoComp .compContainer, .compContainerLoading {
  background-color: #444;
}

.compPhoto {
  position: absolute;
  height: 50%;
  width: 20%;
  margin: 0 0 0 -1px;
  .compFrontside, .compFlipside {
    bottom: 1px;
    left: 1px;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: opacity .6s ease-out;
    -moz-transition: opacity .6s ease-out;
    -o-transition: opacity .6s ease-out;
    transition: opacity .6s ease-out;
  }
}

.compPhotoShadow {
  border: 1px solid rgba(255, 255, 255, 0.15);
  bottom: 0;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.compPhoto1 {
  left: 0;
  top: 0;
  -webkit-border-radius: 4px 0 0 0;
  border-radius: 4px 0 0 0;
  a, .Image, .compPhotoShadow {
    -webkit-border-radius: 4px 0 0 0;
    border-radius: 4px 0 0 0;
  }
}

.compPhoto2 {
  left: 0;
  top: 50%;
}

.compPhoto3 {
  left: 20%;
  top: 0;
}

.compPhoto.compPhoto3 {
  height: 100%;
  width: 40%;
}

.compPhoto4 {
  left: 60%;
  top: 0;
}

.compPhoto5 {
  left: 60%;
  top: 50%;
}

.compPhoto6 {
  left: 80%;
  top: 0;
  -webkit-border-radius: 0 4px 0 0;
  border-radius: 0 4px 0 0;
  a, .Image, .compPhotoShadow {
    -webkit-border-radius: 0 4px 0 0;
    border-radius: 0 4px 0 0;
  }
}

.compPhoto7 {
  left: 80%;
  top: 50%;
}

.compPhoto6 .compPhotoShadow, .compPhoto7 .compPhotoShadow {
  right: -1px;
}

.compFlipside {
  opacity: 0;
}

.compFlipped {
  .compFrontside {
    opacity: 0;
  }
  .compFlipside {
    opacity: 1;
  }
}

.compPhoto {
  &.compPhoto2 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
  &.compPhoto3 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
  &.compPhoto5 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
  &.compPhoto7 {
    .compFlipside, .compFrontside {
      bottom: 0;
    }
  }
}

.user-media-thumbnails{
  li{
    
  }
  .meta{
    text-align:center;
    color: #999;
  }
  a:hover{
    text-decoration: none !important;
  }
}
    
.user-counts-list{
  li{
    padding: 5px;
    text-align: center;
    margin-left: 25px;
   .count{
      font-weight: bold;
      display:block;
      font-size: 3em;
      margin-top: 10px;
    }
  }
}
    @-webkit-keyframes 'spin8' {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


@-moz-keyframes spin8 {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


@-o-keyframes spin8 {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


@keyframes 'spin8' {
  0% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.499% {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  12.5% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  24.999% {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
  }
  25% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.499% {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
  }
  37.5% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  49.999% {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  50% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.499% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
  62.5% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  74.999% {
    -webkit-transform: rotate(405deg);
    -moz-transform: rotate(405deg);
    -o-transform: rotate(405deg);
    transform: rotate(405deg);
  }
  75% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.499% {
    -webkit-transform: rotate(450deg);
    -moz-transform: rotate(450deg);
    -o-transform: rotate(450deg);
    transform: rotate(450deg);
  }
  87.5% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  99.999% {
    -webkit-transform: rotate(495deg);
    -moz-transform: rotate(495deg);
    -o-transform: rotate(495deg);
    transform: rotate(495deg);
  }
  100% {
    -webkit-transform: rotate(100deg);
    -moz-transform: rotate(100deg);
    -o-transform: rotate(100deg);
    transform: rotate(100deg);
  }
}


.Spinner {
  height: 18px;
  left: 50%;
  margin-left: -9px;
  margin-top: -9px;
  position: absolute;
  top: 50%;
  width: 18px;
  background-image: url("//d36xtkk24g8jdx.cloudfront.net/bluebar/dd6cb37/images/shared/spinner.png");
  background-size: 100%;
  -webkit-animation: spin8 0.8s linear infinite;
  -moz-animation: spin8 0.8s linear infinite;
  -o-animation: spin8 0.8s linear infinite;
  animation: spin8 0.8s linear infinite;
}
    
    .iLoading {
  opacity: 0;
}

.iLoaded {
  opacity: 1;
  &.iWithTransition {
    -webkit-transition: opacity 2s;
    -moz-transition: opacity 2s;
    -o-transition: opacity 2s;
    transition: opacity 2s;
  }
}

.Image {
  background-size: 100% 100%;
  position: relative;
}
.hidden{
  display:none;
 }
  
 ul.thumbnails li{
  margin: 5px !important;   
    }
                                    

Javascript/Jquery code

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

function cycleImages(container){
      var $active = container.find('.active');
      var $next = ($active.next().length > 0) ? $active.next() : container.find('img:first');
      $next.css('z-index',2);//move the next image up the pile
      $active.fadeOut(1500,function(){//fade out the top image
      $active.css('z-index',1).show().removeClass('active');//reset the z-index and unhide the image
          $next.css('z-index',3).addClass('active');//make the next image the top one
      });
}

$(document).ready(function(){
    setInterval(function(){cycleImages($('#cycler1'))}, 2000);
    setInterval(function(){cycleImages($('#cycler2'))}, 3000);
}) 

Similar snippets

Bootstrap snippet bs4 profile settings page

bs4 profile settings page

View

Bootstrap snippet bs4 account tickets

bs4 account tickets

View

Bootstrap snippet bs4 authors card

bs4 authors card

View

About this snippet

Creator: Dey Dey

Bootstrap version: 3.1.1

Created: May 12th 2014, 20:19

Views: 4.8K

Rated 5/5 based on 4 reviews