<div class="github">
  <div class="head">
    <div class="ear">
    </div>
    <div class="ear">
    </div>
  </div>
  <div class="body">
  </div>
  <div class="tail">
    <div class="arc">
    </div>
  </div>
</div>
:root {
  --logo-color: #000000;
}

body {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.github {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--logo-color) content-box;
  padding: 0.8px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.head {
  width: 140px;
  height: 110px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
  z-index: 5;
}

.ear {
  with: 61px;
  height: 56px;
  position: absolute;
  top: -15px;
}

.ear:first-child {
  left: 20px;
  transform: rotate(-30deg);
}

.ear:last-child {
  right: 20px;
  transform: rotate(30deg);
}

.ear:before, .ear:after {
  content: '';
  border-top: 5px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 30px solid #fff;
  border-left: 30px solid transparent;
  position: absolute;
  top: 7px;
  border-bottom-right-radius: 100% 60px;
  border-bottom-left-radius: 100% 60px;
}

.ear:before {
  left: -30px;
  transform: rotate(120deg);
}

.ear:after {
  left: -25px;
  transform: rotate(-120deg);
}

.body {
  width: 70px;
  height: 100px;
  background-color: #fff;
  position: absolute;
  bottom: -12px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  z-index: 4;
}

.tail {
  position: absolute;
  top: 200px;
  left: 50px;
  height: 15px;
  width: 50px;
  background-color: #fff;
  border-bottom-left-radius: 30px 100%;
  border-bottom-right-radius: 30px 100%;
  z-index: 3;
}

.tail:after {
  content: '';
  top: -60px;
  left: -1px;
  position: absolute;
  width: 65px;
  height: 65px;
  background-color: var(--logo-color);
  border-radius: 50%;
}

.arc {
  position: absolute;
  left: -8px;
  top: -4px;
  background-color: #fff;
  height: 15px;
  width: 30px;
  border-bottom-left-radius: 100% 20px;
  border-bottom-right-radius: 12px;
  transform: rotate(20deg);
}

.arc:before {
  content: '';
  position: absolute;
  left: -15px;
  top: -12px;
  background-color: #fff;
  height: 15px;
  width: 30px;
  border-top-left-radius: 120% 20px;
  border-top-right-radius: 10px;
  transform: rotate(40deg);
}

.arc:after {
  content: '';
  top: -7px;
  left: -26px;
  position: absolute;
  width: 24px;
  height: 20px;
  background-color: var(--logo-color);
  border-radius: 50%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.