JSFiddle - React, Tailwind, and code Playground

by HDL52

HTML

<div class="avator"></div>

CSS

body, html {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.avator {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: url(https://raw.githubusercontent.com/Hongda-OSU/PicGo-2.3.1/master/imgdog.svg) no-repeat
    center center;
  background-size: 100% 100%;

  &::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 0%;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: 100% 100%;
    border-radius: 50%;
    transform: scale(0.95);
    z-index: -1;
    filter: blur(10px) brightness(80%) opacity(0.8);
  }
}