<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 ---------->
<!doctype html>
<htm>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Grand+Hotel' rel='stylesheet' type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Lato:400,100,700,900,300" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" />
<link href="https://file.myfontastic.com/tJWvc9oygTjgZbPMueorGB/icons.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
<script src="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/js/bootstrap.js"></script>
</head>
<body>
<section style="padding: 6em 0em; background-color: #f8f8f8;">
<div class="container">
<div class="row">
<div class="col-md-4 m-t-lg">
<div class="card accordion-panel panel">
<!--wrap panel heading in span to trigger image change as well as collapse -->
<div class="side-tab card-block" data-target="#tab1" data-toggle="tab" role="tab" aria-expanded="false">
<div class="accordion-heading" role="tab" id="headingOne" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
<h4 class="card-title accordion-title collapsed"><i class="myicon-paperplane"></i> Inbound Marketing</h4>
</div>
</div>
<div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="accordion-content">
<!-- Tab content goes here -->
tab 2 content
</div>
</div>
</div>
<div class="card accordion-panel panel">
<!--wrap panel heading in span to trigger image change as well as collapse -->
<div class="side-tab card-block" data-target="#tab2" data-toggle="tab" role="tab" aria-expanded="false">
<div class="accordion-heading" role="tab" id="headingTwo" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<h4 class="card-title accordion-title collapsed"><i class="myicon-paperplane"></i> Inbound Marketing</h4>
</div>
</div>
<div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="accordion-content">
<!-- Tab content goes here -->
tab 2 content
</div>
</div>
</div>
<div class="card accordion-panel panel">
<!--wrap panel heading in span to trigger image change as well as collapse -->
<div class="side-tab card-block" data-target="#tab3" data-toggle="tab" role="tab" aria-expanded="false">
<div class="accordion-heading" role="tab" id="headingThree" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
<h4 class="card-title accordion-title collapsed"><i class="myicon-paperplane"></i> Inbound Marketing</h4>
</div>
</div>
<div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
<div class="accordion-content">
<!-- Tab content goes here -->
tab 2 content
</div>
</div>
</div>
</div>
<div class="col-md-8">
<!-- begin macbook pro mockup -->
<div class="md-macbook-pro md-glare">
<div class="md-lid">
<div class="md-camera"></div>
<div class="md-screen">
<!-- content goes here -->
<div class="tab-featured-image">
<div class="p-a-0 tab-content">
<div class="tab-pane fade in active" id="tab1" role="tabpanel">
<img src="https://ununsplash.imgix.net/photo-1417024321782-1375735f8987?dpr=2&fit=crop&fm=jpg&h=650&q=75&w=950" alt="tab1" class="img img-responsive">
</div>
<div class="tab-pane fade" id="tab2" role="tabpanel">
<img src="https://unsplash.it/5325/3550?image=985" alt="tab2" class="img img-responsive">
</div>
<div class="tab-pane fade" id="tab3" role="tabpanel">
<img src="https://ununsplash.imgix.net/photo-1422479516648-9b1f0b6e8da8?dpr=2&fit=crop&fm=jpg&h=650&q=75&w=950" alt="tab3" class="img img-responsive">
</div>
</div>
</div>
</div>
</div>
<div class="md-base"></div>
</div> <!-- end macbook pro mockup -->
</div> <!-- / .col-md-8 -->
</div>
</div>
</section>
</body>
</html>
body {
margin-top:60px;
font-family: 'Lato',sans-serif;
}
/* this is just for the demo */
.panel-heading:hover {
cursor:pointer;
}
.panel-heading {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.side-tab {
padding: .5em!important;
}
.side-tab:hover {
cursor: pointer;
}
.panel.panel-default {
border: none;
box-shadow: none !important;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
.panel-heading {
border: none;
background-color: #eee;
padding: 20px;
}
.panel-body {
background-color: #b1ea8f;
padding: 20px;
font-weight: light;
border-radius: 0px 0px 5px 5px;
border-bottom: 5px solid #eee;
}
.panel-title {
font-weight: 300;
color: #323232;
font-size: 1.75em;
}
/*----------------------------------
Macbook pro mockup from:
http://jaredhardy.com/minimal-devices/
EDITED***
----------------------------------*/
.md-macbook-pro {
display: block;
width: 55.3125em;
height: 31.875em;
font-size: 13px;
margin: 0 auto;
@media (max-width:1199px){
font-size: 11px;
}
@media (max-width:1024px){
font-size: 10px;
}
@media (max-width:767px){
font-size: 7px;
.md-lid {
border-radius: 15px!important;
}
}
@media (max-width:320px){
font-size: 5px;
.md-lid {
border-radius: 15px!important;
}
}
}
.md-macbook-pro .md-lid {
width: 45em;
height: 30.625em;
overflow: hidden;
margin: 0 auto;
position: relative;
border-radius: 30px;
border: solid 0.1875em #cdced1;
background: #131313;
}
.md-macbook-pro .md-camera {
width: 0.375em;
height: 0.375em;
margin: 0 auto;
position: relative;
top: .6em;
background: #323232;
border-radius: 100%;
}
.md-macbook-pro .md-camera:after {
content: "";
display: block;
width: 0.125em;
height: 0.125em;
position: absolute;
left: 0.125em;
top: 0.0625em;
background: #353542;
border-radius: 100%;
}
.md-macbook-pro .md-screen {
width: 42.25em;
height: 27em;
margin: 0 auto;
position: relative;
top: 1em;
// background: #1d1d1d;
background: #fff;
overflow: hidden;
}
.md-macbook-pro .md-screen img {
width: 100%;
}
.md-macbook-pro .md-base {
width: 100%;
height: 1em;
position: relative;
top: -0.8em;
background: rgba(222, 221, 221, 0.98);
-webkit-box-shadow: inset 0px -4px 13px 3px rgba(34,34,34,0.6);
-moz-box-shadow: inset 0px -4px 13px 3px rgba(34,34,34,0.6);
box-shadow: inset 0px -4px 13px 3px rgba(34, 34, 34, 0.25);
border-radius: 2px 2px 0px 0px;
}
.md-macbook-pro .md-base:after {
content: "";
display: block;
width: 100%;
height: 0.8em;
margin: 0 auto;
position: relative;
bottom: -0.1875em;
background: #fff;
border-bottom-left-radius: 90px 18px;
border-bottom-right-radius: 90px 18px;
background: rgba(190, 190, 190, 0.28);
-webkit-box-shadow: inset 0 -4px 13px 3px rgba(78, 78, 78, 0.82);
-moz-box-shadow: inset 0 -4px 13px 3px rgba(78, 78, 78, 0.82);
box-shadow: inset 0 -4px 13px 3px rgba(78, 78, 78, 0.82);
}
.md-macbook-pro .md-base:before {
content: "";
display: block;
width: 7.6875em;
height: 0.625em;
margin: 0 auto;
position: relative;
background: #BDBCBC;
border-radius: 0 0 .625em .625em;
-webkit-border-radius: 0 0 20px 20px;
border-radius: 0 0 20px 20px;
-webkit-box-shadow: inset 0 -3px 10px rgb(130, 128, 128);
-moz-box-shadow: inset 0 -3px 10px rgb(130, 128, 128);
box-shadow: inset 0 -3px 10px rgb(130, 128, 128);
}
.md-macbook-pro.md-glare .md-lid:after {
content: "";
display: block;
width: 50%;
height: 100%;
position: absolute;
top: 0;
right: 0;
border-radius: 0 1.25em 0 0;
background: -webkit-linear-gradient(37deg, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
background: -moz-linear-gradient(37deg, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
background: -o-linear-gradient(37deg, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
background: linear-gradient(53deg, rgba(255, 255, 255, 0) 50%, rgba(247, 248, 240, 0.025) 50%, rgba(250, 245, 252, 0.08));
}
span.round-tab {
width: 180px;
height: 180px;
line-height: 3.25;
display: inline-block;
border-radius: 50%;
border: 5px solid #eee;
z-index: 9;
left: 0;
text-align: center;
font-size: 60px;
color: $gray-dark;
-webkit-transition: color .5s ease-in; /*safari and chrome */
-moz-transition: color .5s ease-in; /* firefox */
-o-transition: color .5s ease-in; /* opera */
}
a span.round-tab:hover {
color: $brand-success;
}
@media( max-width : 920px ) {
span.round-tab {
font-size: 40px;
width: 110px;
height: 110px;
line-height: 3;
}
}
@media( max-width : 767px ) {
span.round-tab {
font-size: 30px;
width: 90px;
height: 90px;
line-height: 3;
}
}
@media( max-width : 320px ) {
span.round-tab {
font-size: 30px;
width: 90px;
height: 90px;
line-height: 3;
}
}
body {
font-family: 'Lato', sans-serif;
}
a {
text-decoration: none!important;
}
.card {
border-radius: 10px!important;
border-bottom: 5px solid #eee!important;
}
.accordion-panel {
text-align: center;
display: block;
text-decoration: none;
-webkit-transition: background-color 0.5s ease-in-out;
-moz-transition: background-color 0.5s ease-in-out;
transition: background-color 0.5s ease-in-out;
border-left: none!important;
border-right: none!important;
border-top: none!important;
box-shadow: none;
border-radius: 10px;
}
.accordion-title {
text-transform: uppercase;
font-weight: 100!important;
padding: .1em 0em 0em 0em!important;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin-bottom: 0!important;
}
.accordion-title>a:hover {
text-decoration: none!important;
}
.accordion-content {
margin: 0em 3em 3em 3em;
}
.divider {
height: 3px;
border-radius: 3px;
margin: 0em 3em 3em 3em;
background: #eee;
}