JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Hello</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="../normalize.css">
<link rel="stylesheet" type="text/css" media="screen" href="../main.css">
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,600|Open+Sans" rel="stylesheet">
<script src="main.js"></script>
</head>
<body>
<div class="enter-card">
<div class="enter-card__top">
<img class="photo" src="https://drive.google.com/open?id=1q-gHAE2Tf1K7pSthtVTwR9mXM9ks9vCc" alt="photo">
<span>Константин</span>
<span>Константинов</span>
</div>
<div class="enter-card__bottom">
<a class="enter-card__button" href="#">Перейти на сайт</a>
</div>
</div>
</body>
</html>
CSS
body{
margin: 0;
padding: 0;
background: #f6f6f6
}
.enter-card{
margin-left: 450px;
margin-top:180px;
width: 300px;
border-radius:10px;
background-color: rgb(255, 255, 255);
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
font-family: 'Open Sans', sans-serif;
font-size: 21px;
line-height: 28px;
font-weight: 600;
text-align: center;
}
.enter-card span{
display: block;
}
.enter-card span:last-child{
margin-bottom: 10px;
}
.photo{
border-width: 1px;
border-color: rgb(215, 215, 215);
border-style: solid;
border-radius: 50%;
width: 144px;
height: 144px;
margin-top: -65px;
}
.enter-card__bottom{
height: 82px;
background-color: rgb(51, 193, 227);
border-bottom-left-radius:10px;
border-bottom-right-radius:10px;
font-family: 'Fira Sans', sans-serif;
font-size: 14px;
line-height: 28px;
font-weight: bold;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.enter-card__button{
flex-basis: auto;
color: rgb(255, 255, 255);
border-width: 2px;
border-color: rgb(255, 255, 255);
border-style: solid;
border-radius: 20px;
min-width: 134px;
min-height: 36px;
text-decoration: none;
}