JSFiddle - React, Tailwind, and code Playground
HTML
<div class="site-header1">
<div class="logo">
<div class="text">
<span>Class</span>
<span>Class</span>
</div>
<div class="img"></div>
</div>
</div>
CSS
.site-header1 .logo{
position:relative;
height: 80px;
}
.site-header1 .logo .text{
padding: 10px;
font-weight: lighter;
font-family: 'Lato', sans-serif;
font-size:1.5em;
border-radius: 25px;
background:white;
border:1px solid rgba(0, 0, 0, 0.5);
display: inline-block;
margin-top: 17px;
}
.site-header1 .logo .text span {
position: relative;
z-index: 1;
}
.site-header1 .logo .text span+span{
padding-left:75px;
}
.site-header1 .logo .img { /*this is the image itself */
border-radius: 99px; /* 1px less than the border */
background:white;
border:0;
position:absolute;
left: 65px; /* 1px more than border below */
top: 8px; /* 1px more than border below */
height: 70px;
width: 70px;
}
.site-header1 .logo:after { /*this is the image border */
content: '';
border-radius: 100px;
background:white;
border:1px solid rgba(0, 0, 0, 0.5);
position:absolute;
z-index: -1; /* push it behind */
left: 64px;
top: 7px;
height: 70px;
width: 70px;
}