<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="col-lg-6 col-sm-6 col-md-offset-3">
<div class="card hovercard">
<div class="card-background">
<img class="card-bkimg" alt="" src="http://lorempixel.com/100/100/people/9/">
<!-- http://lorempixel.com/850/280/people/9/ -->
</div>
<div class="useravatar">
<img alt="" src="http://static3.comicvine.com/uploads/square_small/11112/111122896/5402107-super_saiyan_blue_goku__5_by_rayzorblade189-dacu6j6.png">
</div>
<div class="card-info"> <span class="card-title">Super Saiyan</span>
</div>
</div>
<div class="btn-pref btn-group btn-group-justified btn-group-lg" role="group" aria-label="...">
<div class="btn-group" role="group">
<button type="button" id="stars" class="btn btn-primary" href="#tab1" data-toggle="tab"><span class="glyphicon glyphicon-star" aria-hidden="true"></span>
<div class="hidden-xs">What is the purpose of the HTML code?</div>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="favorites" class="btn btn-default" href="#tab2" data-toggle="tab"><span class="glyphicon glyphicon-heart" aria-hidden="true"></span>
<div class="hidden-xs">Favorites</div>
</button>
</div>
<div class="btn-group" role="group">
<button type="button" id="following" class="btn btn-default" href="#tab3" data-toggle="tab"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>
<div class="hidden-xs">Why HTML was created?</div>
</button>
</div>
</div>
<div class="well">
<div class="tab-content">
<div class="tab-pane fade in active" id="tab1">
<h3>HTML: Origins and Purpose. The Hypertext Markup Language (HTML) is a standard for describing the structure and presentation of information via the Internet. Scott Loban shows how you can use HTML keywords and tags to format and display the content of Web pages.</h3>
</div>
<div class="tab-pane fade in" id="tab2">
<table class="tg">
<tr>
<td>
<p class="goku">Our Social media marketing team are so energetic and enthusiastic that we serves the best smo services in india. Our Facebook marketing team are very well trained to do marketing on facebook and twitter. We serves the best SMO service so we think that we are the best social media marketing company. We provide our online marketing serives in very affordable prize and our seo packages and smo packages are also very low....</p>
<div style="text-align:center;display:none" class="gaa"><script src="//code.jquery.com/jquery-1.10.2.js"></script><iframe src="http://saavn.com/" style="width:100%;height: 600px; border: none"></iframe></div></td>
</tr>
<tr><td><div>
<p class="goku">Our Social media marketing team are so energetic and enthusiastic that we serves the best smo services in india. Our Facebook marketing team are very well trained to do marketing on facebook and twitter. We serves the best SMO service so we think that we are the best social media marketing company. We provide our online marketing serives in very affordable prize and our seo packages and smo packages are also very low....<br><br></p>
<p class="goku">Our PPC Expert are so well trained that they maintain our ppc project in such a way that you will get CPC at very low cost. we manage our PPC in such a way that you will get each and every lead in very low cost.</p>
</div></td></tr>
</table>
<script>$( ".goku" ).click(function() {
$( ".gaa" ).toggle( "slow" );
});</script>
</div>
<div class="tab-pane fade in" id="tab3">
<h3>First developed by Tim Berners-Lee in 1990, HTML is short for HyperText Markup Language. HTML is used to create electronic documents (called pages) that are displayed on the World Wide Web. Each page contains a series of connections to other pages called hyperlinks.</h3>
<table class="tg">
<tr>
<td><div style="width: 330px;text-align:center;display:none" class="main"><style type="text/css"> .small img{display:inline;width:100px;padding:5px}.small{display:inline}.ytNext,.ytPrev{font-size:12px;display:inline-block}.ytlist{padding-left:0}#ytPage{list-style:none inside;margin:0;padding:0;height:20px}#ytPage .ytNext{float:right}#ytPage .ytPrev{display:inline-block}</style> <script src="http://www.yvoschaap.com/ytpage/ytembed.js" type="text/javascript"></script> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <form onsubmit="ytEmbed.init({'block':'youtubeDivUser','type':'search','q':document.getElementById('ytSearchField').value,'results': 3,'layout':'thumbnails','player':'embed','height':250,'width':300}); return false;"> <input type="text" id="ytSearchField" data-emoji_font="true" style="font-family: proxima-nova, Helvetica, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol', Symbola, EmojiSymbols !important;"> <input type="submit" value=" Search "> </form><br> <div id="youtubeDivUser"></div></div></td>
<td><div>
<p>Our PPC Expert are so well trained that they maintain our ppc project in such a way that you will get CPC at very low cost. we manage our PPC in such a way that you will get each and every lead in very low cost.</p>
</div></td>
</tr>
</table>
<script>$( "p" ).click(function() {
$( ".main" ).toggle( "slow" );
});</script>
</div>
</div>
</div>
</div>
/* USER PROFILE PAGE */
.card {
margin-top: 20px;
padding: 30px;
background-color: rgba(214, 224, 226, 0.2);
-webkit-border-top-left-radius:5px;
-moz-border-top-left-radius:5px;
border-top-left-radius:5px;
-webkit-border-top-right-radius:5px;
-moz-border-top-right-radius:5px;
border-top-right-radius:5px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.card.hovercard {
position: relative;
padding-top: 0;
overflow: hidden;
text-align: center;
background-color: #fff;
background-color: rgba(255, 255, 255, 1);
}
.card.hovercard .card-background {
height: 130px;
}
.card-background img {
-webkit-filter: blur(25px);
-moz-filter: blur(25px);
-o-filter: blur(25px);
-ms-filter: blur(25px);
filter: blur(25px);
margin-left: -100px;
margin-top: -200px;
min-width: 130%;
}
.card.hovercard .useravatar {
position: absolute;
top: 15px;
left: 0;
right: 0;
}
.card.hovercard .useravatar 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);
}
.card.hovercard .card-info {
position: absolute;
bottom: 14px;
left: 0;
right: 0;
}
.card.hovercard .card-info .card-title {
padding:0 5px;
font-size: 20px;
line-height: 1;
color: #262626;
background-color: rgba(255, 255, 255, 0.1);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.card.hovercard .card-info {
overflow: hidden;
font-size: 12px;
line-height: 20px;
color: #737373;
text-overflow: ellipsis;
}
.card.hovercard .bottom {
padding: 0 20px;
margin-bottom: 17px;
}
.btn-pref .btn {
-webkit-border-radius:0 !important;
}
$(document).ready(function() {
$(".btn-pref .btn").click(function () {
$(".btn-pref .btn").removeClass("btn-primary").addClass("btn-default");
// $(".tab").addClass("active"); // instead of this do the below
$(this).removeClass("btn-default").addClass("btn-primary");
});
});