JSFiddle - React, Tailwind, and code Playground
by adamschwartz
HTML
<div class="circle-logo">
<div class="circle-logo-inner"></div>
<div class="circle-logo-text">AS</div>
</div>
CSS
.circle-logo {
height: 240px;
width: 240px;
border-radius: 50%;
margin: 50px;
background-image: -o-linear-gradient(-44deg, #00B4FF 0%, #B0E64D 100%);
background-image: -moz-linear-gradient(-44deg, #00B4FF 0%, #B0E64D 100%);
background-image: -webkit-linear-gradient(-44deg, #00B4FF 0%, #B0E64D 100%);
background-image: -ms-linear-gradient(-44deg, #00B4FF 0%, #B0E64D 100%);
background-image: linear-gradient(-44deg, #00B4FF 0%, #B0E64D 100%);
-moz-box-shadow: inset 0px 8px 3px rgba(0,0,0,0.50);
-webkit-box-shadow: inset 0px 8px 3px rgba(0,0,0,0.50);
box-shadow: inset 0px 8px 3px rgba(0,0,0,0.50);
position: relative;
}
.circle-logo-inner {
position: absolute;
top: 0px;
bottom: 0px;
background: #fff;
height: 100px;
width: 100px;
border-radius: 50%;
top: 40px;
left: 40px;
-moz-box-shadow: 0px 8px 3px rgba(0,0,0,0.50);
-webkit-box-shadow: 0px 8px 3px rgba(0,0,0,0.50);
box-shadow: 0px 8px 3px rgba(0,0,0,0.50);
}
.circle-logo-text {
top: 62px;
left: 53px;
font-family: sans-serif;
font-size: 52px;
color: rgba(255, 255, 255, 0.35);
white-space: nowrap;
position: absolute;
text-shadow: 0px -3px rgba(44, 168, 226, 0.9);
font-weight: bold;
}