JSFiddle - React, Tailwind, and code Playground
by Teja Sukmana
HTML
<jangan>
<div class="profile_card">
<div class="header-muka">
<div class="inner_head">
<a href="#"><span class="entypo-plus"></span><i>Add</i></a>
<a href="#"><span class="entypo-chat"></span><i>Chat</i></a>
<a href="#"><span class="entypo-star"></span><i>Fav</i></a>
<a href="#"><span class="entypo-heart-empty"></span><i>Like</i></a>
</div>
</div>
<div class="profile">
<div class="avatar_image"></div>
<div class="inner_content">
<h2 class="name" id="name">Teja Sukmana</h2>
<span id="desc">
<p class="description" id="desc_one">Bukan Creator Tapi Copasor</p>
<p class="description" id="desc_two">Yang Penting Bisa Berbagi</p></span>
<div class="social_links">
<ul>
<li ><a id="website" href="http://mastamvan.blogspot.com" class="button-bawah"><span class="entypo-attach"></span></a></li>
<li ><a id="twitter" href="http://twitter.com/Teja_7x" class="button-bawah"><span class="entypo-twitter"></span></a></li>
<li ><a id="dribbble" href="https://dribbble.com/mastamvan" class="button-bawah"><span class="entypo-dribbble"></span></a></li>
</ul>
</div>
</div>
</div>
</div>
</jangan>
CSS
@import url(http://weloveiconfonts.com/api/?family=entypo);
/* entypo */
[class*="entypo-"]:before {
font-family: 'entypo', sans-serif;
}
@font-face {
font-family: 'Museo';
src: url("http://rocket-design.fr/fonts/museo/museo.eot?") format("eot"), url("http://rocket-design.fr/fonts/museo/museo.woff") format("woff"), url("http://rocket-design.fr/fonts/museo/museo.ttf") format("truetype");
}
* {
-webkit-font-smoothing: antialiased;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-weight: 300;
line-height: 24px;
letter-spacing: .02em;
}
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body {
background: #333333 url(http://sandbox.lucasbonomi.com/img/blur/Retina-Size/10.jpg) no-repeat center center;
background-size: cover;
}
.profile_card {
height: 460px;
width: 260px;
margin: 15vh auto;
border-radius: 1px;
box-shadow: 0 0 0 0.22em rgba(255, 255, 255, 0.35);
}
.profile_card .header-muka, .profile_card .profile {
height: 230px;
width: 100%;
float: left;
}
.profile_card .header-muka {
background: url(https://lh3.googleusercontent.com/-20w3clSNcfM/VhDM78h4TVI/AAAAAAAAAGI/46DSIH13z6Y/s630-fcrop64=1,00003fe6ffffffff/background-tamvan.jpg) no-repeat center center;
background-size: 126% 100%;
-webkit-transition: background-size 0.3s ease;
-moz-transition: background-size 0.3s ease;
transition: background-size 0.3s ease;
}
.profile_card .header-muka:before {
content: '';
display: block;
width: 100px;
height: 28px;
background: #f9f9f9;
position: relative;
z-index: 1;
margin: 15em auto 0;
}
.profile_card .header-muka .inner_head {
position: relative;
margin-top: -16.8em;
width: 260px;
height: 230px;
-webkit-transition: background 0.3s ease;
-moz-transition: background 0.3s ease;
transition: background 0.3s ease;
}
.profile_card .header-muka .inner_head a {
font-size: 1.4em;
padding: 1.5em 0.5em 0 1em;
display: inline-block;
...