JSFiddle - React, Tailwind, and code Playground
Paper CV
by Timar
HTML
<div class="circle">
<div class="">
<img class="portrait papercircle " src="https://wisr.eu/img/team/profile_img/timar.jpg">
<div class="name-tag bottom white-glow">
</div>
<div class="name-tag papercircle">
<p>
hallo i bims
</p>
</div>
</div>
</div>
CSS
.portrait {
margin-top: 25%;
border-style: solid;
border-color: #e4ebeb;
border-radius: 50%;
border-width: 15px;
z-index: 10;
}
.papercircle {
box-shadow: 0px 10px 8px 0px rgba(0, 0, 0, 0.1),
0px 5px 4px 0px rgba(0, 0, 0, 0.15),
0px 2px 1px 0px rgba(0, 0, 0, 0.15),
0px 4px 1px 0px rgba(0, 0, 0, 0.04),
inset 0px 1px 0px 0px rgba(255, 0, 255, 1);
}
.white-glow {
box-shadow:
0px -14px 24px 0px rgba(0, 255, 255, 0.4),
0px -4px 4px 0px rgba(255, 255, 255, 0.2);
}
.name-tag {
position: absolute;
margin-top: -30px;
background-color: #e4ebeb;
width: 250px;
height: 50px;
border-radius: 10px;
}
.bottom {
z-index: -10;
transform: translatey(0px);
}
p {
}
.circle {
width: 100%;
transform: translatey(-50%);
}
body {
background-color: #e4ebeb;
}
JavaScript
.Rounded_Rectangle_5 {
border-radius: 10px;
background-color: rgb(228, 235, 235);
box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.004);
position: absolute;
left: 3205px;
top: 467px;
width: 80px;
height: 88px;
z-index: 48;
}