JSFiddle - React, Tailwind, and code Playground

by Anderson Carlos Woss

HTML

<h1 title="Mirror">Mirror</h1>

CSS

h1 {
  font-size: 3rem;
  font-family: sans-serif;
  margin: -1px;
  position: relative;
}

h1:after {
  content: attr(title);
  position: absolute;
  bottom: -70%;
  left: 0;
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  background: -webkit-linear-gradient(#FFF, #AAA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
 
}