JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapp">
<div class="hello__ava">
<img src="https://upload.wikimedia.org/wikipedia/commons/1/1b/Square_200x200.png" alt="Avatar" class="hello__pic">
</div>
<div class="hello__name">
Петр Петров
</div>
<div class="hello__btn">
<a href="#" class="hello__btn-link">Просмотр резюме</a>
</div>
</div>
CSS
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
body{
font-size: 21px;
}
.wrapp {
display: block;
margin: 120px auto 20px;
width: 300px;
border-radius: 20px;
box-shadow: 2px 2px 3px rgba(0, 0, 0, .5);
text-align: center;
}
.hello__ava {
width: 140px;
height: 140px;
margin: auto;
border-radius: 50%;
border:2px solid grey;
overflow: hidden;
transform: translateY(-50%);
}
.hello__pic {
max-width: 100%;
}
.hello__name {
width: 30%;
margin: 0 auto;
}
.hello__btn {
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
background: aqua;
}
.hello__name,
.hello__btn {
padding: 20px 0;
}
.hello__btn-link {
display: inline-block;
color: black;
text-decoration: none;
border: 2px solid black;
border-radius: 18px;
padding: 10px;
}
.hello__btn-link:hover {
color: #fff;
border: 2px solid #fff;
}
p {
margin: 0;
padding: 0;
}