JSFiddle - React, Tailwind, and code Playground

by 8ogdan

HTML

<p class="my3dtext">About Us</p>

CSS

body {
  background-color: black;
  padding: 40px;
}

p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
}

p.my3dtext {
  position: relative;
  text-transform: uppercase;
  color: #4F2F54;
}

p.my3dtext::after {
  position: absolute;
  left: 0;
  top: -2px;
  content: 'About Us';
  text-transform: uppercase;
  color: #E34164;
  transform-origin: bottom left;
  transform: skew(0, -0.1deg);
}