"benzene-structure"
Bootstrap 3.3.0 Snippet by SANTANU CHOWDHURY

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<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="container benzene-structure">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="col-md-6 no-padding">
<div class="flip-card">
<div class="flip-card-inner">
<div class="flip-card-front">
<div class="content">
<h1>John Doe</h1>
<p>Architect & Engineer</p>
<p>We love that guy</p>
</div>
</div>
<div class="flip-card-back">
<img src="https://via.placeholder.com/280x280" alt="Avatar" style="width:300px;height:300px;">
</div>
</div>
</div>
</div>
<div class="col-md-6 no-padding">
<div class="flip-card">
<div class="flip-card-inner">
<div class="flip-card-front">
<div class="content">
<h1>John Doe</h1>
<p>Architect & Engineer</p>
<p>We love that guy</p>
</div>
</div>
<div class="flip-card-back">
<img src="https://via.placeholder.com/280x280" alt="Avatar" style="width:300px;height:300px;">
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.no-padding {
padding: 0px;
}
.benzene-structure .middle {
margin-right: 10px;
margin-left: 33px;
position: relative;
top: -55px;
}
.benzene-structure .bottom {
position: relative;
top: -110px;
}
.benzene-structure .middle-left {
position: relative;
left: 23px;
}
.benzene-structure .middle-right {
position: relative;
right: 23px;
}
.benzene-structure .flip-card {
background-color: transparent;
width: 277px;
height: 277px;
-webkit-perspective: 1000px;
perspective: 1000px;
-webkit-clip-path: polygon(50% 0%, 100% 20%, 100% 80%, 50% 100%, 0 80%, 0 20%);
clip-path: polygon(50% 0%, 100% 20%, 100% 80%, 50% 100%, 0 80%, 0 20%);
}
.benzene-structure .flip-card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
-webkit-transition: -webkit-transform 0.6s;
transition: -webkit-transform 0.6s;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: