<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Youtube Logo</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <div class="youtube">
    <span class="arrow"></span>
  </div>
</body>
</html>
:root{
    --height: 85px;
    --width: 80px;
    transform: scale(2);
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: #333;
    overflow: hidden;
}
.youtube{
    position: relative;
    width: var(--width);
    height: var(--height);
    background-color: #e21;
    padding: 0 15px;
    border-radius: 50% / 11%;
}
.youtube::before{
    content: "";
    position: absolute;
    background: inherit;
    top: 10%;
    bottom: 10%;
    right: -5%;
    left: -4.5%;
    border-radius: 5% / 50%;
}
.arrow{
    width: 100%;
    height: var(--height);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 3px;
}
.arrow::before{
    content: "";
    z-index: 1;
    width: 0;
    height: 0;
    border-left: 25px solid #fff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.